Difference between revisions of "Scripting terminology"
From Dragon Age Toolset Wiki
m (Adding definitions) |
m (Adding definition) |
||
Line 16: | Line 16: | ||
<!-- === <span id="K">K</span> === --> | <!-- === <span id="K">K</span> === --> | ||
=== <span id="L">L</span> === | === <span id="L">L</span> === | ||
− | {{Definition|literal| | + | {{Definition|literal|A textual representation of a value for a data type, for example, 12345 is a [[int keyword|int]] literal, 123.45 is a [[float keyword|float]] and, "Hello World" is a [[string keyword|string]] literal}} |
<!-- === <span id="K">K</span> === --> | <!-- === <span id="K">K</span> === --> | ||
<!-- === <span id="K">K</span> === --> | <!-- === <span id="K">K</span> === --> | ||
Line 25: | Line 25: | ||
<!-- === <span id="Q">Q</span> === --> | <!-- === <span id="Q">Q</span> === --> | ||
<!-- === <span id="R">R</span> === --> | <!-- === <span id="R">R</span> === --> | ||
+ | {{Definition|resref|A resource's name without the extension, for example, "archdemon" would be the resref for an "archdeamon.utc" resource.}} | ||
<!-- === <span id="S">S</span> === --> | <!-- === <span id="S">S</span> === --> | ||
<!-- === <span id="T">T</span> === --> | <!-- === <span id="T">T</span> === --> |
Revision as of 14:39, 1 March 2012
Contents |
---|
C
- Constant
- A value which is known at compile time and does not change. A constant is declared using the const keyword and must be initialised with a value when it is declared.
- Constructor
- A function that creates an instance of a data type.
I
- Include file
- A non-executable script that can be referenced from, and merged with, another script using the #include directive.