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

Global

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:15, 9 May 2007 (edit)
Sandman (Talk | contribs)

← Previous diff
Revision as of 00:17, 9 May 2007 (edit) (undo)
Sandman (Talk | contribs)
m
Next diff →
Line 9: Line 9:
Global is a reserved word used to initiate the declaration of [[:Category:global variables|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]]. Global is a reserved word used to initiate the declaration of [[:Category:global variables|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, see [[:Category:global variables|this page]].+For a list of global variables, see [[:Category:global variables|this page]].
== Example == == Example ==

Revision as of 00:17, 9 May 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
Personal tools