Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
This command moved the block of memory named CLASS, of length 16, into the block of memory named TEMP, of length 14.
During this move, the individual fields are not involved and their contents is not checked.
The receiving field is shorter, so a truncation occur and the last 2 chars are lost.
Code: |
MOVE CORRESPONDING CLASS TO TEMP |
This command moves the individual fields one by one, if they have the same name. It is equivalent to:
MOVE NAME OF CLASS TO NAME OF TEMP
MOVE AGE OF CLASS TO AGE OF TEMP
and so on.
In your case, truncation occur on the 1st of the "individual" MOVEs, all other fields are moved OK. |
|