08-21-2004, 12:15 AM
CURRENCY a
CURRENCY b
str c="AMOUNT (100,000.00)"
str d=100000
b=d
c.trim("AMOUNT (")
c.trim (")")
a=c
if a <= b
mes "ok"
else
mes "not ok"
What I am trying to do is get the value of "c" and compare it to the value of "d."
If I use wait 5 before the if statement, seems to work.
Is there also a way to find out the line where the error occurs?
CURRENCY b
str c="AMOUNT (100,000.00)"
str d=100000
b=d
c.trim("AMOUNT (")
c.trim (")")
a=c
if a <= b
mes "ok"
else
mes "not ok"
What I am trying to do is get the value of "c" and compare it to the value of "d."
If I use wait 5 before the if statement, seems to work.
Is there also a way to find out the line where the error occurs?