RosettaCodeData/Task/Runtime-evaluation-In-an-environment/SNOBOL4/runtime-evaluation-in-an-environment-1.sno

7 lines
176 B
Text
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
compiled = code(' define("triple(x)") :(a);triple triple = 3 * x :(return)') :<compiled>
a x = 1
first = triple(x)
x = 3
output = triple(x) - first
end