Else

From Wiki
Jump to: navigation, search

Synopsis

Else

Description

Used in conjunction with if, processed only when the if statement evaluates as false. Must be placed immediately after the true command from the if statement.

Example

set %a #false
if %a 
   display ok % , a is True
else 
   display ok % , a is False
halt

Will always display %a is false

Related Commands

If

See also

Main Page Documentation