End Command

Marks a logical end to the adventure. When the End command is executed, the adventure driver stops executing, just as if the end of the program had been reached.

Syntax

End

Example

IF PLANE_ALT > 4000 THEN

END

ELSE

PRINT "Altitude is less than 4,001."

ENDIF