Difference between revisions of "Scripting terminology"
From Dragon Age Toolset Wiki
m (Created) |
m (→C: Adding definition) |
||
Line 6: | Line 6: | ||
--> | --> | ||
=== <span id="C">C</span> === | === <span id="C">C</span> === | ||
− | {{Definition| | + | {{Definition|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.}} |
+ | |||
+ | {{Definition|constructor|A function that creates an instance of a data type.}} | ||
<!-- === <span id="D">D</span> === | <!-- === <span id="D">D</span> === | ||
Line 24: | Line 26: | ||
<!-- === <span id="K">K</span> === | <!-- === <span id="K">K</span> === | ||
--> | --> | ||
+ | |||
=== <span id="L">L</span> === | === <span id="L">L</span> === | ||
{{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}} | {{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}} |
Revision as of 14:15, 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.
L
- literal
- a textual representation of a value for a data type, for example, 12345 is a int literal, 123.45 is a float and, "Hello World" is a string literal