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:17, 9 May 2007 (edit)
Sandman (Talk | contribs)

← Previous diff
Current revision (13:30, 24 July 2007) (edit) (undo)
Sandman (Talk | contribs)
m
 
(One intermediate revision not shown.)
Line 1: Line 1:
[[category:reserved]] [[category:reserved]]
[[category:language]] [[category:language]]
 +[[category:basic statement]]
 +
 +[[Basic statements|'''Up to Basic Statements''']]
 +----
 +
== Definition == == Definition ==
Line 21: Line 26:
End End
-Local // Declare global variables here+Local // Declare local variables here
End End
</pre> </pre>

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