dmytro starosud
2011-02-19 20:56:11 UTC
Hello,
Is there in Smalltalk (GNU Smalltalk is used) something like "eval"
function.
I want to do some kind of following:
str := '2 + 3'.
out := str evaluate. "and out equal 5"
str may contain any valid Smalltalk expressions.
thank you
Is there in Smalltalk (GNU Smalltalk is used) something like "eval"
function.
I want to do some kind of following:
str := '2 + 3'.
out := str evaluate. "and out equal 5"
str may contain any valid Smalltalk expressions.
thank you