DarkBASIC Professional Help Wiki
Advertisement
Syntax


Key$ = LOOKUP CURRENT VALUE$ ( Lookup id )


Description


This command is used to retrieve the value pointed to by the 'current' pointer.

If the current pointer does not point to a valid key/value, the following will apply:
- If the GET MODE for the lookup table is set to 0, an empty string will be returned.
- If the GET MODE for the lookup table is set to 1, an error will be triggered.

Advertisement