Norbert Hartl wrote > method := (AbstractSound>>#initialize) parseTree. > method body addNode: (RBParser parseExpression: 'envelopes := nil'). > method formattedCode > ... > Does not work? What do you mean by saying "same result"?
It did work (one year later, lol)! My last statement was mistakenly "body formattedCode" instead of "method formattedCode" ----- Cheers, Sean -- View this message in context: http://forum.world.st/Adding-a-statement-programmatically-tp4454447p4692030.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.