Is it possible to use a variable to return an operator (or also a string). Example of part of code below:
1
2
3
4
5
6
IFopVar=1THEN
myOperator=>
ELSIFopVar=2THEN
myOperator=<
ENDIF
For this opVAR would be a variable set in ‘Variable optimization’ and myOperator could be used elsewhere in the code where I wanted to check different results based on less than or greater than.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue