[Gambas-user] [Aside] Re: Accessing the nth item in a collection

B Bruen bbruen at ...2308...
Thu Jun 5 05:22:31 CEST 2014


An interesting thought just occurred, almost totally unrelated to this thread.

Is a gb.db Result a collection or an array?  It is hard to tell from the help

This class represents the result of a SQL request.
This class is not creatable.
This class acts like a read / write array.
This class is enumerable with the FOR EACH keyword.

but then I cannot access the first item via "MyResult[0]"
It looks like a special array with a strange form of _get().

?

-- 
B Bruen <bbruen at ...2308...>




More information about the User mailing list