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

Const

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:16, 24 July 2007 (edit)
Sandman (Talk | contribs)
(New page: category:reserved category:language == Definition == '''Const'''<br> [<constants>]<br> ['''End'''] Const is a reserved word used to initiate the declaration of constants. Ter...)
← 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

Const
[<constants>]
[End]

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

For a list of constants, see this page.

[edit] Example

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

Const // Declare constants here
End
Personal tools