[Gambas-user] Returning locally instantiated Classes & Collections from Functions.
Stephen Bungay
sbungay at ...981...
Fri Aug 18 19:08:41 CEST 2006
Something tells me that we can't do this in gambas. If we have a function
that instantiates an instance of a class (or a collection that contains
instances of a class) and we return that instance, it will always return a
NULL object because the local instance gets destroyed when the function
ends.. Is this reasoning correct?
Steve.
More information about the User
mailing list