First time here? Check out the FAQ!

HotVariable names as Custom Class field

0 votes
hello hello,

I tried to use a Green Variable inside the id field of a prefixer, but (of course) it was not working as I wished.

is there any way to construct Hot Variabe names inside a script in order to have then a field inside my new class. I would like to have a field in my Class where I can type a string to be used as a prefixer, instead of adding every time a Prefixer sound.

thanks for the help.

asked Nov 18 in Capytalk & Smalltalk by domenico-cipriani (Master) (3,090 points)
When you encapsulate, it binds any free variables in the Sound. But if you want to rename the EventValues of the Sound you're creating, then you could just use Prefixer or a Replicator (copies = 1) on the new Class.

Please log in or register to answer this question.