Multiline expressions
Is it possible to set the multiline text into the expression? All you need to do for creation of the multiline expression is to put the line feed before a new line (in the code editor the line feed is set by pressing Enter). For example:
Value:
{1+2}
-after calculation this expression will print the following lines:
Value:
3
In other words the expression will contain two lines. There is no limit in the number of lines in the report generator.
Notice. The expression may contain any number of lines.
Multiline expressions have no limit in use of the code for calculation of value. The same principles of calculation of multiline expressions are used in calculation of single-line expressions. Beside, while creating multiline expressions, the code cannot to be separated with the line feed. For example:
Value: {1 +
2}
- this expression is incorrect.
It is a correct entry:
Value: {1 + 2}
It is a correct one too:
Value:
{1 + 2}
Notice. The code in expressions cannot to be separated with the line feed.