Previous | Next | LK
Topic: Calculating in WINCMES
Conf: LK, Msg: 187
From: Troy Braman (bramanta@pweh.com)
Date: 4/15/1998 02:22 PM

I can't use I variables for the calculation that I'm doing.
I believe the problem has to do with the value retrieved from the save point. The reason I believe this is because if you do the following:

R1=.770
R2=.770
R3=R1-R2

IF,R3,LESS,EQUAL,GREATER

:LESS
OP,'LESS'
ET

:EQUAL
OP,'EQUAL'
ET

:GREATER
OP,'GRREATER'
ET
This works fine, but if you assign values this way:

R1=.770
R2=X2 <---- Using the X value of save point 2
R3=R1-R2

Then it doesn't work properly. It calculates it right, but the IF statement sees it differently.

??????????????????????????