Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Note
titleContent Freeze

As of July 25th, 2023, there is a content freeze on this page.

pjs.moveArray() moves elements from and/or to an array. If padding is specified, it will clear out the remaining characters and elements in the target after the move is complete.

...

Code Block
languagejavascript
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