Comment

From Dragon Age Toolset Wiki
Revision as of 22:11, 19 July 2009 by 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...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.