- This wiki is out of date, use the continuation of this wiki instead
 
Local
From FenixWiki
(Difference between revisions)
												
			
			| Revision as of 00:17, 9 May 2007 (edit) Sandman (Talk | contribs) ← Previous diff  | 
				Revision as of 00:46, 18 June 2007 (edit) (undo) Sandman (Talk | contribs) m (→Example) Next diff →  | 
			||
| Line 21: | Line 21: | ||
| End | End | ||
| - | Local // Declare  | + | Local // Declare local variables here | 
| End | End | ||
| </pre> | </pre> | ||
Revision as of 00:46, 18 June 2007
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.
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
						
			
		