Difference between revisions of "Comment"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (Created page with 'In scripts, comments are denoted by a double slash "//". Anything after a double slash is ignored by the compiler. <dascript> #include "rules" //This entire line is a comme...') |
m (Removing blank lines) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{ToDoListItem|Sunjammer}} | ||
In [[script]]s, comments are denoted by a double slash "//". Anything after a double slash is ignored by the compiler. | In [[script]]s, comments are denoted by a double slash "//". Anything after a double slash is ignored by the compiler. | ||
Line 13: | Line 14: | ||
In [[2DA]]s, the special data type "comment" can be used to omit a column from the resource exporter's output. | In [[2DA]]s, the special data type "comment" can be used to omit a column from the resource exporter's output. | ||
+ | |||
+ | [[Category:Scripts]] |
Latest revision as of 22:42, 31 August 2011
In scripts, comments are denoted by a double slash "//". Anything after a double slash is ignored by the compiler.
#include "rules" //This entire line is a comment. void main() { DoSomethingOrOther(); //The function "DoSomethingOrOther();" will be compiled, but there rest of this line will not be. }
In 2DAs, the special data type "comment" can be used to omit a column from the resource exporter's output.