Test for valid calculation

Command group Flag affected Reversible Execute on client Platform(s)
Calculations YES NO NO All


Test for valid calculation {calculation}


This command lets you test a calculation before it is evaluated. It is essential to test strings to be evaluated by the eval()evalf() and fld() functions before doing the evaluation. The flag is set to kTrue if the calculation is valid.


Calculate lCalculation as 'lBalance < 0'
Test for valid calculation {evalf(lCalculation)}
If flag true
  Do lAccountsList.$search(evalf(lCalculation))
End If