[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] instance vars as array ?



Is it possible to get the variables of an object as an array ?

Something like

MyClass {
var one,two,three

}

a = MyClass;
a.varsAsArray == [a.one,one.two,one.three] should give true.


thanks,
--
Miguel Negrão // ZLB
http://www.friendlyvirus.org/artists/zlb/

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/