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

7 lines
175 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
compiled = code(' define("triple()") :(a);triple triple = 3 * x :(return)') :<compiled>
a x = 1
first = triple(x)
x = 3
output = triple(x) - first
end