This wiki is out of date, use the continuation of this wiki instead

Program

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:23, 24 July 2007 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Revision as of 13:24, 24 July 2007 (edit) (undo)
Sandman (Talk | contribs)
m
Next diff →
Line 5: Line 5:
[[Basic statements|'''Up to Basic Statements''']] [[Basic statements|'''Up to Basic Statements''']]
---- ----
 +
== Definition == == Definition ==

Revision as of 13:24, 24 July 2007

Up to Basic Statements



Definition

PROGRAM <programname>;

Program is a reserved word used to begin your program. It's not needed to start a program with it.

Example

Program example; // Name this program "example", which doesn't really matter
Begin // Start the main code
    Loop
        frame;
    End
End // End the main code

When the End of the main code is reached, the program exits, if there are no processes alive anymore.

Personal tools