Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Methods in types
#7
(01-22-2025, 05:38 AM)mcalkins Wrote: You're talking about classes? A class is a udt that can have member functions.

I know what classes are. I'm not thinking of them right now (inheritance and polymorphism are whole different cans of worms.) I can simulate the behavior I'm thinking of just by having a collection of SUBs that can be called with the type variable passed as an argument. But it would be handy sometimes to have the shorthand way to get the job done.
It's not the having, it's the doing.
Reply


Messages In This Thread
Methods in types - by bobalooie - 01-17-2025, 01:02 AM
RE: Methods in types - by mcalkins - 01-22-2025, 05:38 AM
RE: Methods in types - by bobalooie - Yesterday, 07:45 PM
RE: Methods in types - by hsiangch_ong - 01-22-2025, 05:50 AM
RE: Methods in types - by James D Jarvis - 01-25-2025, 04:36 PM
RE: Methods in types - by hsiangch_ong - 01-26-2025, 12:26 AM
RE: Methods in types - by bplus - 01-26-2025, 12:08 AM
RE: Methods in types - by Pete - Yesterday, 08:00 PM



Users browsing this thread: 5 Guest(s)