Next: if-else
Up: Scripting
Previous: Scripting
The if structure evaluates a truth condition, and if it finds it
to be true, will execute a block.
if 1>0, a=2; end
If the number 1 is greater than 0 (which it is) then the block a=2 will be evaluated.
Arun Francis Rodrigues
1999-08-17