Description
Lookup allows you to find an element which matches (or is close) an argument you pass to the lookup function.
...
This API will return the index of the value if it has found a match, otherwise it will return 0.
Example
pjs.define("i", { type: 'integer', length: 3, decimals: 0 });
pjs.define("SRCHWD", { type: 'char', length: 15 });
...