Class Var


back
varAt: v put: value
| res |
"v is a String"
res := self allVariables
find: [:el| (el at: 1) = v]
ifAbsent: [res := Array new: 2. res at: 1 put: v. self allVariables add: res. res].
res at: 2 put: value.
^ self