RosettaCodeData/Task/Runtime-evaluation/Smalltalk/runtime-evaluation-3.st
Ingy döt Net b83f433714 tasks a-s
2013-04-10 23:57:08 -07:00

2 lines
100 B
Smalltalk

e := '[ :x :y | (x*x + (y*y)) sqrt ]'.
Transcript show: ((Compiler evaluate: e) value: 3 value: 4).