Difference between revisions of "Syntax Highlighting"
From ADRIFT 5 Manual Wiki
m (Links) |
m |
||
Line 14: | Line 14: | ||
− | <TABLE ALIGN=CENTER BORDER=1 WIDTH="50%"><TD WIDTH="33%" ALIGN=CENTER>[[Alternate Descriptions|<<< Alternate Descriptions]]</TD><TD WIDTH="34%" ALIGN=CENTER>[[Main Page#User Interface|Main Page]]</TD><TD ALIGN=CENTER>[[ | + | <TABLE ALIGN=CENTER BORDER=1 WIDTH="50%"><TD WIDTH="33%" ALIGN=CENTER>[[Alternate Descriptions|<<< Alternate Descriptions]]</TD><TD WIDTH="34%" ALIGN=CENTER>[[Main Page#User Interface|Main Page]]</TD><TD ALIGN=CENTER>[[Map|The Map >>>]]</TD></TABLE> |
Latest revision as of 03:58, 7 January 2013
Syntax within text areas of ADRIFT 5 are highlighted when certain things are typed. This makes it clear that you are calling a function, or referencing a key. This helps to highlight if you have typed an invalid entry.
Functions are highlighted in blue, for example %ListExits[%Player%]%.
References are highlighted in green, for example %direction%.
Keys are highlighted in red, for example Object12.
Property functions are highlighted in dark red, for example Player.Held.List.
Comments are highlighted in grey, for example <!-- This is a comment -->.
Variables are highlighted in purple, for example %Score%.
<<< Alternate Descriptions | Main Page | The Map >>> |