10-09-2007 6:29 AM
Hi friends, this is very urgent, plz help me.
I want to write the condition for the below logic.
x value y value
-
_________________
If x is 0-<10 10,000 will be used
If x is 10-<100 1,000 will be used
Thanks and regards
Venkat
10-09-2007 6:36 AM
Hi,
use
IF x gt 0 and x lt 10.
y = 10,000.
endif.
IF x gt 10 and x lt 100.
y = 1,000.
endif.
Sandeep Kaushik
10-09-2007 6:36 AM
Hi,
use
IF x gt 0 and x lt 10.
y = 10,000.
endif.
IF x gt 10 and x lt 100.
y = 1,000.
endif.
Sandeep Kaushik
10-09-2007 6:38 AM
Hi
data: v_x type i , v_y type I, num type i.
x = 0, y= 10.
if x < y
num = 10,000.
endif.
x = 10, y = 100.
if x < y
num = 1,000.
endif.
Use that Num field in your code
Regards
Anji