It is possible for a single expression to output multiple lines of text within a report. To create a multi-line expression, insert a line feed before any new line. You can do this by simply pressing the Enter key at the appropriate place in the code editor. There is no limit to the number of lines that can be included in an expression. For example, if you enter the following expression:
Value:
{1+2}
then after calculation, the result appearing in the report will be:
Value:
3
In other words, the text output will contain two lines.
Infromation |
An expression may contain any number of lines.
|
Using Code in Multi-line Expressions
Multi-line expressions do not have limitations on using code to calculate values other than those for Single-line expressions.