Conditional Processing

$elseif x op y

The $elseif command is used to end and restart a set of IIF commands which have been conditioned using $if, $ifn, $ife or $ifne. The proper terminating commands must always be provided.

The syntax is the same as the $if command. There are no other variants corresponding to the different types of 'if' command.


$if @code = 1

  $next_box good ; transfer to good.iif

$elseif @code = 2

  $next_box maybe ; transfer to maybe.iif


  $next box bad ; transfer to bad.iif