Tiny is a fictional programming language for educational purposes
Variables are referenced with letters (a-z) and act as double
a:= value; to save value as "a"
global X,X,X; to set global variables
local X,X,X; to set local variables
proc procedure(parameters) to register a procedure, (endproc to set its end)
call procedure(parameters); to call a procedure
///////ATENTION//////
If you are using ^0.7, you'll need to set a procedure called 'main'
////////////////////////
writeStr("string"); to print
read(b); to read a value and save as "b"
writeVar(b); to print the value you saved
if n < 0 then
case true
else
case false
endif
for i:= 10 downto 1 do
code a loop
endfor
while a <= n do
code a loop
endw