Re: Confusion about References

Markus Winter <drmarkuswinter-gM/[email protected]> Wed, 20 Sep 2017 00:20:45 +0200
Newsgroups gmane.comp.lang.realbasic.user
Message-ID <[email protected]>

> On 20. Sep 2017, at 00:09, Jim Wagner <[email protected]> wrote:
> 
> I guess I am still stuck in the highly memory constrained really small microcontroller mindset where the idea of creating so many duplicates of a single function. Unless, of course, under the hood, those class instances really do not create their own copies of function but access the super’s definition for the actual execution. Or, do I just throw up my hands and say “memory be hanged” and blast ahead, chewing up the RAM bytes?

That's what class functions aka shared functions are for: one function shared by all instances of a class.

I strongly recommend you read up on OOP in Xojo. There are some articles on the xDev store.

MfG

Markus

Sent from my iPad


To unsubscribe, email [email protected]