Skip to content

MetaVar__@

Sergi Reyner edited this page Mar 16, 2014 · 1 revision

#Class MetaVar

[back]

@ v
	| res |
	"v is a String"
	res := AllVariables 
			find: [:el| (el at: 1) = v] 
			ifAbsent: [^ self error: 'Variable not found: ', v].
	^ res at: 2

Clone this wiki locally