Difference between revisions of "Syntax Highlighting"

From ADRIFT 5 Manual Wiki
Jump to: navigation, search
(Dark red)
m (Links)
Line 12: Line 12:
  
 
  Variables are highlighted in purple, for example <font color=purple>%Score%</font>.
 
  Variables are highlighted in purple, for example <font color=purple>%Score%</font>.
 +
 +
 +
<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>[[The Map|The Map >>>]]</TD></TABLE>

Revision as of 03:56, 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 DescriptionsMain PageThe Map >>>