- This wiki is out of date, use the continuation of this wiki instead
Global
From FenixWiki
(Difference between revisions)
Revision as of 13:30, 24 July 2007 (edit) Sandman (Talk | contribs) m ← Previous diff |
Current revision (11:04, 1 March 2008) (edit) (undo) Sandman (Talk | contribs) m (→Example) |
||
Line 18: | Line 18: | ||
== Example == | == Example == | ||
<pre> | <pre> | ||
- | Program example; // Name this program "example", which doesn't really matter | ||
Global // Declare global variables here | Global // Declare global variables here | ||
+ | End | ||
+ | |||
+ | Process Main() | ||
Begin | Begin | ||
Loop | Loop |
Current revision
[edit] 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.
[edit] Example
Global // Declare global variables here End Process Main() Begin Loop frame; End End Global // Declare global variables here End