Difference between revisions of "Syntax Highlighting"

From ADRIFT 5 Manual Wiki
Jump to: navigation, search
(Created page with "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 hig...")
(No difference)

Revision as of 19:03, 22 April 2011

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 Task12. 
Comments are highlighted in grey, for example <!-- This is a comment -->. 
Variables are highlighted in purple, for example %Score%.