Within Trelis, APREPRO expressions must be written inside of curly braces {}. For example, the following is a valid Trelis command:

Curve 1 Size {sqrt(2.0)}

APREPRO expressions can also exist on separate lines as follows:


As in the example, separate line expressions must exist within commented lines. There is an exception though - looping expressions must exist on non-commented lines. See Additional Functionality .

Immutable Variables

As of Trelis 15.0, immutable variables are supported. Immutable variables are created by putting the variable definition in an IMMUTABLE block. For example:


{ x = 2 }

{ y = 3 }