Difference between revisions of "Keyword"
From Dragon Age Toolset Wiki
(Created) |
m (Adding category) |
||
Line 29: | Line 29: | ||
== Remarks == | == Remarks == | ||
+ | |||
The [[Script editor]]'s syntax highlighter treats the [[Boolean constant|boolean constants]] (TRUE and FALSE) as keywords. | The [[Script editor]]'s syntax highlighter treats the [[Boolean constant|boolean constants]] (TRUE and FALSE) as keywords. | ||
== See also == | == See also == | ||
+ | |||
* [[:Category:Keywords|Keywords]] | * [[:Category:Keywords|Keywords]] | ||
+ | |||
+ | [[Category:Scripting]] |
Revision as of 17:09, 18 February 2012
Keywords are reserved words that have a predefined and special meanings to the compiler. Keywords cannot be used as a function or variable's identifier.
The dascript keywords are:
- 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.