Page 1 of 1

Operator in variable

Posted: Wed Mar 22, 2017 10:33 am
by sinisrus
I find to solution for change operator in variable

Code: Select all

A=5
B=5
BOB=1

IF (bob) OP=+ ELSE OP=- ENDIF  

DebugPrint(A..OP..B) => no work
Is there a way to do this?

Re: Operator in variable

Posted: Wed Mar 22, 2017 11:41 am
by sinisrus
Ok solved

Eval() is good for this job :-)