Page 1 of 1

Colors in Scripts and Expressions

Posted: 15 Mar 2012 08:15
by bxsj
This topic may be obvious for somebody who is familiar with Lemur programming, but for starters this maybe from help. The Lemur programming environement does syntax checks for scripts and expression. The color of the coding will show if there is a syntax error or not. If there is no syntax error, different colors are assigned to different programming objects.

Scripts
Red – The script contains syntactical errors
Green – Comments. Starting with ‘//’ and ending with a line feed/carriage return
Blue – Literals and Strings
Grey – Commands, Call of Scripts, Variables

Expressions
Red – The expression contains syntax errors
Black - The expression is Ok

Hope that helps, any additions and corrections are highly appreciated.
BxSj

Re: Colors in Scripts and Expressions

Posted: 15 Mar 2012 12:28
by axel_liine
Also, expressions displayed in blue were recognized as constants at compile-time and therefore will not be reevaluated.