{} operator

Synopsis
This operator evaluates an expression and returns the result as a string or string array.
Remarks
Variations
{ Expression }
Parameters
Expression

An expression.

Supported types: String; String array; Numeric; Numeric array.
Returns
Returned types: String; String array.
Examples
1.

The following example returns the current date and time in the default format (for example, "05/28/1977 16:41:01 ").

{DATETIME()}
2.

The following example returns the current time in a specified format, as well as some text (for example, "The time is 08:27:33 in Dorval, Quebec, Canada").

The time is {DATETIME("HH:mm:ss")} in Dorval, Quebec, Canada
3.

The following example returns the number of occurrences found by a RectangleFinder step, as well as some text (for example, "This square is precisely 36.345 millimeters across"). Note that a formatting code is used to limit the numeric value to 3 decimal places.

This square is precisely {RectangleFinder.Occurrences(1).Width , 4:f3} millimeters across
4.

The following example returns the array of strings ["3","-1","10"].

{[1+2, 3-4, 3+4+3]}
5.

The following example returns the array of strings ["1+2","3-4","3+4+3"].

{["1+2", "3-4", "3+4+3"]}
Curly bracket Curly brackets Curly brace Curly braces