Appends a value to an existing constant (only runs in a specification).
Please take care, when implementing this function, that an infinite loop is not inadvertently created.
This can occur when:
Creating an infinite loop will severely slow a project or cause System.OutOfMemory exception messages when the project is run.
SppAppendValueToConstant([Constant Name],[Value to Append])
Where:
Constant Name is the name of an existing constant.
Value to Append is the value to append to the existing constant value.
Rule | Result | Meaning |
---|---|---|
SppAppendValueToConstant("SelectedHeight",HeightReturn) | 585 | Will append the height from the form control Height to the constant SelectedHeight.
The prefix DWConstant can be applied but is not necessary. The constant name is required to be declared as a text string within quotes (" "). |