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.

The pjs.moveLeft() API allows you to move values from one variable to another, left adjusted, without any type checking. It has the same functionality as pjs.move(), but with the 'left-adjusted' paremeter always true.

...

Code Block
languagejavascript
pjs.define("source1", { type: 'decimal', length: 5, decimals: 0, initValue: 12345 });
pjs.define("target1", { type: 'char', length: 10, initValue: 'abcdefghij' });
 
pjs.moveLeft(source1, target1);
// target1 = '12345fghij'

 


RPG Equivalent 

MOVEL