Matrix1 Utility Plug-ins

# LOOKUP$

Syntax

Value$ = LOOKUP$ ( Lookup id, Key$ ) Value$ = LOOKUP$ ( Lookup id, Key$, Default value$ )

Description

This command is used to retrieve the string value assigned to the key within the specified lookup table. Key lookup is case-sensitive. For the first form of this command, if the key does not exist within the table, then the following 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. For the second form of this function, if the key does not exist within the table, the value specified as the default value will be returned.

Go back to ...

Matrix1Util_31 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011