ELSE

else.html
options random home http://www.mentasm.com/~mramiga/c/else.html (Amiga Plus Extra No. 5, 08/1997)


Format: ELSE
Template: (none)
Location: Internal

Else must be used in conjunction with the IF command. Else is used in an IF block of a script to specify an alternative action if the IF condition is not true. if the IF condition is not true, execution of the script jumps form the IF line to the line after ELSE; all interveningg commands are skiped. if the IF condition is true, commands immediately following the IF statement are executed up to the ELSE. Then, execution skips to the ENDIF statement that concludes the IF block of the script.


Example:


See also: IF ENDIF EXECUTE