GNU Smalltalk Library Reference: ProcessVariable class-accessing

Next: , Up: ProcessVariable [Index]


1.137.1 ProcessVariable class: accessing

key: anObject

Return a new ProcessVariable with the given key. Not that the key need not be a symbol or string, for example you could use an array #(#{class name} ’name’). Setting the variable’s value will automatically create it in the current process, while removal must be done by hand through the ProcessEnvironment singleton object.

new

Return a new ProcessVariable with a new anonymous but unique key. It is suggested to use a descriptive name instead to ease debugging. Setting the variable’s value will automatically create it in the current process, while removal must be done by hand through the ProcessEnvironment singleton object.

AltStyle によって変換されたページ (->オリジナル) /