Versions Compared

Key

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

...

  1. Search argument
  2. Array
  3. Start index (OR resulting indicators object)
  4. Resulting indicators object (can be null)
Return Value

Function will return Returns 0 if no matching element has been is found; otherwise, otherwise it will return the element index is returned.

Example
Code Block
languagejavascript
  pjs.define("Word1", { type: 'char', length: 1 });
  pjs.define("arr1", { type: 'char', length: 1, dim: 10, orderby: 'ASCEND' });

  arr1[1] = 'A';
  arr1[2] = 'B';
  arr1[3] = 'C';
  arr1[4] = 'C';
  arr1[5] = 'E';
  arr1[6] = 'E';
  arr1[7] = 'F';
  arr1[8] = 'G';
  arr1[9] = 'G';
  arr1[10] = 'H';

  Word1 = 'D';

  pjs.lookupGE(Word1, arr1, { high: 65, equal: 66 });

...