Input text field (example): 25 + 2 * (2/4)
Button to calculate result into MSGINFO .
Something like this:
Code: Select all
LOCAL SOM := Form_REPKAL.T2_SOM.Value
bBlock := { SOM }
MSGINFO (EVAL(bBlock))
RETURN
Serge