Zbex run and stop statements

From CCARH Wiki
Revision as of 15:01, 13 October 2010 by Craig (talk | contribs) (created page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The last statement in an Zbex program must be the run statement. The program will compile but will not run without this statement. Any code or text below (after) the run statement in a file or in a window will be ignored.

You can cause your program to terminate at any location with the stop statement. The compiler automatically compiles a stop statement before the run statement and before any procedure statement. This prevents program control from entering a procedure by accident.