...
Code Block | ||
---|---|---|
| ||
pjs.define("ARRX", { type: 'char', length: 2, dim: 5, initValue: 'AB' }); pjs.define("CHAR", { type: 'char', length: 10 }); pjs.MoveArray(ARRX, CHAR, 1, 1); return CHAR; //'ABABABABAB' |
RPG Equivalent
MOVEA
...
Code Block | ||
---|---|---|
| ||
pjs.define("ARRX", { type: 'char', length: 2, dim: 5, initValue: 'AB' }); pjs.define("CHAR", { type: 'char', length: 10 }); pjs.MoveArray(ARRX, CHAR, 1, 1); return CHAR; //'ABABABABAB' |
RPG Equivalent
MOVEA