2007 Dec 25 6:12 AM
i had a value like 20203005
i need to pass these values lin three variables like var1 =20 var2 =20 var3 =3005
i'm using
var1 = value+(2).
var2= value+2(2).
var3= value+4(2).
is it correct please advice me.
thanks
krishna
2007 Dec 25 6:28 AM
if that is serving ur purpose then that is right..
code wise its good..
Award points if helpful
if that is serving ur purpose then that is right..
code wise its good..
Award points if helpful
2007 Dec 25 6:28 AM
if that is serving ur purpose then that is right..
code wise its good..
Award points if helpful
2007 Dec 25 6:33 AM
Hi
Krishna
exactly wht u wrote is correct
no problem proceed futher
plzz reward if usefu;l...
if u have any futher quiries my mail id [email protected]
plzz reward
2007 Dec 25 6:39 AM
Hi,
There should be a small change in the assignment of 3rd field.
var1 = value+(2).
var2= value+2(2).
var3= value+4(4).
for the 3rd field, u need to fetch 4 values '3005'.
so from 4th char of the value ('3') 4 more values to be fetched. i.e., 3005.
2007 Dec 25 6:40 AM
Hi,
try simply like this.
data:str(8) VALUE '20203005'.
data:var1(2),var2(2),var3(4).
var1 = str."or str+(2).
var2 = str2."or str2(2).
var3 = str4."or str4(4).
write:/ var1,var2,var3.
rgds,
bharat.
2007 Dec 25 8:59 AM
Hi,
Its correct, you can proceed ahead with same logic.
Thanks,
Sriram Ponna.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |