Find element in a table array that is closest but This API allows you to find an element which is less than or equal to 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 these properties:RPG Equivalent: %TLOOKUPLE
- equal (Number) - identifies the flag number to set if an exact match is found
- low (Number) - identifies the flag number to set if the nearest lower entry is found
Parameters
- Search argument
- Table array
- Alternate table array OR resulting indicators object (optional)
- resulting indicators object (optional)
RPG Equivalent
%TLOOKUPLE()