Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Variables/8th/variables.8th
Normal file
11
Task/Variables/8th/variables.8th
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
\ 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 !
|
||||
Loading…
Add table
Add a link
Reference in a new issue