...
- Search argument
- Array
- Start index (OR resulting indicators object)
- Resulting indicators (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 | ||
---|---|---|
| ||
pjs.define("Word1", { type: 'char', length: 15 }); pjs.define("arr1", { type: 'char', length: 15, dim: 5, orderby: 'DESCEND' }); arr1[1] = 'Patrick'; arr1[2] = 'Owenals'; arr1[3] = 'Nancy'; arr1[4] = 'Manan'; arr1[5] = 'Lincoln'; Word1 = 'Manan'; pjs.lookupGT(Word1, arr1, { high: 72 }); |
...