[Gambas-user] Class array
tine melk
melk54 at ...67...
Sat Nov 26 20:10:19 CET 2005
Is there a way and if so how to use array in class.
this "dim myclass as new class1[]" looks like are allowed but
how to access it?
Running Gambas 1.9.21 on ubuntu 5.10
class1.class
public name as string
public phone as string
main.gb
dim myclass as new class1[]
public sub main()
'Should'nt it be possible to
myclass[1].name="dummy"
myclass[2].phone="0123456"
end sub
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
More information about the User
mailing list