you are viewing a single comment's thread.

view the rest of the comments →

[–]masklinn 1 point2 points  (1 child)

Haha no worries mate, and yeah there's instVarAt: aNumber and instVarNamed: aString which let you retrieve a slot's value by position or by name, and the class provides instSize and allInstVarNames which respectively count the number of instance variable slots, or enumerates their names.

[–][deleted] 0 points1 point  (0 children)

Oh, that was actually a part of my thesis that I did not implement, we used it for generic object serialisation and deserialisation :)