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