‎2006 Dec 24 2:18 PM
Move can do all the operations that WRITE TO can do .... then why do we have that option??
‎2006 Dec 24 4:21 PM
‎2006 Dec 24 2:57 PM
hi
WRITE TO will move the value of the source field to the target field which should be of type character..
but with MOVE TO the target field can be of any type..
Cheers,
Abdul Hakim
Mark all useful answers..
‎2006 Dec 24 4:21 PM
‎2006 Dec 25 3:25 PM
‎2006 Dec 24 4:25 PM
read this i think this will help u
You can use either WRITE or MOVE.
Using WRITE the format of the target field will be the same as when you write to a list. That means that the settings in the user's master record for decimal point and date are taking into account.
If you use MOVE, the decimal point is always a periode.
Syntax:
move t1 + offset(length) to t2
write t1 + offset(length) to t2
Example:
data: t1(10) type c, t2(10) type c.
t1 = '0123456789'.
move t1+3(5) to t2.
t2 will contain 34567
Instead of move you could have used write. In this example the result would have been the same.