Difference between revisions of "Syntax Highlighting"
From ADRIFT 5 Manual Wiki
(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...") |
(Dark red) |
||
Line 5: | Line 5: | ||
References are highlighted in green, for example <font color=green>%direction%</font>. | References are highlighted in green, for example <font color=green>%direction%</font>. | ||
− | Keys are highlighted in red, for example <font color=red> | + | Keys are highlighted in red, for example <font color=red>Object12</font>. |
+ | |||
+ | Property functions are highlighted in dark red, for example <font color=red>Player</font>.<font color=darkred>Held.List</font>. | ||
Comments are highlighted in grey, for example <font color=grey><!-- This is a comment --></font>. | Comments are highlighted in grey, for example <font color=grey><!-- This is a comment --></font>. | ||
Variables are highlighted in purple, for example <font color=purple>%Score%</font>. | Variables are highlighted in purple, for example <font color=purple>%Score%</font>. |
Revision as of 03:51, 26 December 2012
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%.