Syntax Highlighting

From ADRIFT 5 Manual Wiki
Revision as of 19:03, 22 April 2011 by Campbell (Talk | contribs) (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...")

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

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%.