Simple Question

Domo

New member
Messages
28
Points
0
How do you add variables?

like:

.@TotalVar = .@Var1 + .@Var2

These are just integers.

and sorry, first time doing adding. lol

 
You can add variables by doing this:

Code:
set .@TotalVar, .@var1+.@var2;
 
Last edited by a moderator:
Code:
.@a = .@b+.@c; // stores .@b+.@c in .@a.@a += .@b; // equivalent to .@a = .@a+.@b
 
Back
Top