21561Re: [Clip] Re: Why does a neg value cause a syntax error in calc?
- Mar 1, 2011joy8388608 wrote:
>; Syntax error when first var is not initialized and second is negativeJoy, I know this is old, but I was skimming through old post and
>^!Set %Temp4%=^$Calc(^%Cash16P% + ^%JobAmt%)$
started to play with this again and I discovered something useful.
It's only when the negative number is the first to be added to the
not initiated variable the problem occurs.
So if you always add zero first, I think it should work.
- << Previous post in topic Next post in topic >>