pjs.tableLookupGT()
This API allows you to find an element which is great than the argument you pass to it, and positions the table to that element.
An optional resulting indicators object can specify if any elements in the flags array should be set. The resulting indicators object can have this property:
high (Number) - identifies the flag number to set if the nearest higher entry is found
Parameters
Search argument
Table array
Alternate table array OR resulting indicators (optional)
resulting indicators (optional)
RPG EquivalentÂ
%TLOOKUPGT()