ELSE

From ICE Enterprises
Jump to navigation Jump to search

starts macro block to be executed when IF/ELSEIF conditions fail

ELSE begins an alternative execution block for the macro IF statement. An
example of its use to take operating system-specific action:

	if ENV.OsType eqs DOS
	  ! perform DOS actions
	elseif ENV.OsType eqs UNIX
	  ! perform UNIX actions
	else
	  SAY "Not supported for operating system ^ENV.OStype"
	endif

SEE ALSO:  IF, ELSEIF, ENDIF