Contents - Index


LOOKUPCOLUNITS$

 

LOOKUPCOLUNITS$('TableName', ColumnNo OR 'ColumnName') returns the units of a specified column in a Lookup table.  'TableName' is the name of a Lookup table or a Lookup file.  It may be a string constant or string variable.  ColumnNo can be a number or expression that evaluates to the column number in the table.  Alternatively, the name of the column can be provided as a string constant or string variable.  If the column is not found, the function will return '??'

 

Example:

 

U$=lookupcolunits$('Lookup 1',1)

V$=lookupcolunits$('Lookup 1','Column1')

 

 

See also:  LOOKUPCOLNAME$

 

String Functions