- This wiki is out of date, use the continuation of this wiki instead
Global
From FenixWiki
(Difference between revisions)
Revision as of 00:17, 9 May 2007 (edit) Sandman (Talk | contribs) m ← Previous diff |
Revision as of 13:30, 24 July 2007 (edit) (undo) Sandman (Talk | contribs) m Next diff → |
||
Line 1: | Line 1: | ||
[[category:reserved]] | [[category:reserved]] | ||
[[category:language]] | [[category:language]] | ||
+ | [[category:basic statement]] | ||
+ | |||
+ | [[Basic statements|'''Up to Basic Statements''']] | ||
+ | ---- | ||
+ | |||
== Definition == | == Definition == |
Revision as of 13:30, 24 July 2007
Definition
Global
<global variables>;
[End]
Global is a reserved word used to initiate the declaration of global variables. Terminating the declaration block with an End is needed when the Global is not used in conjunction with the main code of the Program.
For a list of global variables, see this page.
Example
Program example; // Name this program "example", which doesn't really matter Global // Declare global variables here Begin Loop frame; End End Global // Declare global variables here End