>> Maybe I need to do a hack then by having a class side object which just >> holds a pointer ( not the variable itself ). > > No, why? > > Note that singletons can always be broken. #initialize can be broken > with #basicNew. In fact, everything in Smalltalk can be broken, since > there are no private methods. But I wouldn't worry about that. I just say "true becomes: false" :P > > Now that I understand more, anyway, I agree that the best thing to do > is what you were doing in the beginning---but with the class variable > names declared correctly based on the output of "Class allInstVarNames". How could I forget THAT. Of course I missed the previous instance variables. I'll change that right away. Sometimes I don't make enough RTFM :P it looks like. > If you have problems, you can also consider going on the > #gnu-smalltalk IRC channel on freenode.net. > Came from there to this mailing list as people said it's better here than there to ask.
-- Yours sincerely Plüss Roland Leader and Head Programmer - Game: Epsylon ( http://epsylon.rptd.ch/ , http://www.moddb.com/games/4057/epsylon ) - Game Engine: Drag(en)gine ( http://dragengine.rptd.ch , http://www.moddb.com/engines/9/dragengine ) - Normal Map Generator: DENormGen ( http://epsylon.rptd.ch/denormgen.php )
signature.asc
Description: OpenPGP digital signature
_______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
