13 lines
221 B
Plaintext
Executable File
13 lines
221 B
Plaintext
Executable File
def test $text $varname &$printed
|
|
global ${$varname}
|
|
mov $printed true
|
|
echo $text " " ${$varname}
|
|
end
|
|
|
|
mov $b 42
|
|
mov $printed false
|
|
|
|
drw "printed? " $printed
|
|
test "value of b is:" "b" $printed
|
|
drw "printed? " $printed
|