This is an old revision of the document!


EVAL_STRING

Evaluates the specified string as if it was a condition of the Rule Language. Returns the result of evaluation, which can either be a numeric value or “Yes/No” value

An expression providing a string. Two optional extra parameters specify what should happen when condition evaluates to Yes or No (see the last example)

Object.Attribute = 'Customer.Nmb'
IF EVAL_STR (Object.Attribute ) = 5 THEN ...
Object.Attribute = 'Customer.Nmb >5'
IF EVAL_STR(Object.Attribute) = 'Yes' THEN ...
Company.Address = Company.Address1 + 
EVAL_STRING('Company.Address2 IS DEFINED', CR() + Company.Address2, '')
  • Last modified: 2022/09/13 18:12