11 lines
237 B
Text
11 lines
237 B
Text
\ declare a variable which is initialized to the number '0'
|
|
var x
|
|
|
|
\ declare a variable which is initialized to a string "cat"
|
|
"cat" var, y
|
|
|
|
\ Get the value in x, add 20 and store it:
|
|
x @ 20 n:+ x !
|
|
|
|
\ Change the cat to a dog:
|
|
"dog" y !
|