Versions Compared

Key

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

...

Code Block
languagejavascript
  pjs.define("SRCHWDi", { type: 'packed decimalinteger', length: 23, decimals: 0 });  
  pjs.define("arrSRCHWD", { 
    type: 'packed decimal',     length: 2,     decimals: 0, });
   dim: 20pjs.define("arr", {    orderbytype: 'ASCENDchar', length: 15, dim: 10 });

  arr[1] = 12'Cornwall';
  arr[2] = 23'kingston';
  arr[3] = 54'London';
  arr[4] = 57'Paris';
  arr[5] = 89'Scarborough';
  arr[6] = 63'York';
  arr[7] = 29'Columbus';
  arr[8] = 26'Dayton';
  arr[9] = 73'centerville';
  arr[10] = 50'vasad';

  SRCHWD = 44arr[6];

  pjs.lookupLElookup(SRCHWD, arr, i, { low: 80, equal: 81 });

  if (flags[80] && !flags[81]) {
    //console.log(var1.trim());
  }26 });


RPG Equivalent

%LOOKUP(), LOOKUP