Hello,
I have formula as string (for example, "100+12-8-3"). Currenly, I use
evalbuf () to get it's value and convert it to real afterwards.
However, I want to make some checking to make sure my formula is
correct. Example of incorrect formula: "100+(10-5))". Unfortunately,
formula like this just crashes axapta (I use evalbuf() inside
ttsbegin..ttscommit statement). Is there a way to check if formula is
valid, and if it is not, just return 0?
I've tried try{..} catch {..}, but it works only on division by zero.
Any ideas would be greatly appreciated.
Regards,
Ieva
[Non-text portions of this message have been removed]