Syntax Highlighting

From ADRIFT 5 Manual Wiki
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 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 >>>