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

Local

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:46, 18 June 2007 (edit)
Sandman (Talk | contribs)
m (Example)
← Previous diff
Current revision (13:30, 24 July 2007) (edit) (undo)
Sandman (Talk | contribs)
m
 
Line 1: Line 1:
[[category:reserved]] [[category:reserved]]
[[category:language]] [[category:language]]
 +[[category:basic statement]]
 +
 +[[Basic statements|'''Up to Basic Statements''']]
 +----
 +
== Definition == == Definition ==

Current revision

Up to Basic Statements



[edit] Definition

Local
<local variables>;
[End]

Local is a reserved word used to initiate the declaration of local variables. Terminating the declaration block with an End is needed when the Local is not used in conjunction with the main code of the Program.

For a list of local variables, see this page.

[edit] Example

Program example; // Name this program "example", which doesn't really matter
Local // Declare local variables here
Begin
    Loop
        frame;
    End
End

Local // Declare local variables here
End
Personal tools