Difference between revisions of "Keyword"
From Dragon Age Toolset Wiki
m (moved List of keywords to Keyword) |
m |
||
Line 1: | Line 1: | ||
− | + | A [[keyword]] is a reserved word which has a predefined and special meaning to the compiler. Keywords cannot be used as a function or variable's [[identifier]]. | |
− | The [[dascript]] keywords | + | The [[dascript]] compiler recognizes the following keywords: |
* [[continue keyword|continue]] | * [[continue keyword|continue]] |
Latest revision as of 21:06, 18 February 2012
A keyword is a reserved word which has a predefined and special meaning to the compiler. Keywords cannot be used as a function or variable's identifier.
The dascript compiler recognizes the following keywords:
- continue
- default
- do
- effect
- else
- event
- float
- for
- if
- int
- itemproperty
- location
- object
- OBJECT_INVALID
- OBJECT_SELF
- player
- resource
- return
- string
- struct
- switch
- vector
- void
- while
Remarks
The Script editor's syntax highlighter treats the boolean constants (TRUE and FALSE) as keywords.