Home
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Details for command set:
* set <variable>,<value>;
This command will set a variable to the value that the expression results in.
This is the only way to set a variable directly.
This is the most basic script command and is uses a lot whenever you try to do
anything more advanced than just printing text into a messagebox.
Examples:
> set @i,1;
Will set the @i variable's value to 1
> set @str$,"Hello World";
Will set the value of @str$ to "Hello World" (string).
> set @x,1+5/8+9;
will compute 1+5/8+9 (which is, surprisingly, 10 - remember, all numbers are
integer in this language) and make @x equal it.