|
The behavior of this verb changed starting with uBASE 1.0a5. Most old scripts should run unchanged.
ubase.lookupRecord creates a new table at the address you provide [new in 1.0a5].
If uBASE causes an entry named 'errs' to be placed into the table, this verb returns false to indicate the error. You can look at the errs entry to see what the error was (it is a string). The record might be missing, or the fnum parameter may not
specify an open database.
Prior to uBASE 1.0a5, you needed to check the table produced by this verb for the presence of an entry named errs to detect errors. Scripts which do that will still run...new scripts should be written to test the boolean returned by this verb.
If you are looking up a record to extract the value of just one field, consider using ubase.getField instead of this verb.
|