NAME $1 - SYNOPSIS DESCRIPTION IMPLEMENTATION SEE ALSO ARGUMENTS MODIFIED CALLS BUGS retrieve information from a symbol table integer function lookup (symbol, info, table) character symbol (ARB) integer info (ARB) pointer table 'Lookup' examines the symbol table given as its third argument for the presence of the character-string symbol given as its first argument. If the symbol is not present, 'lookup' returns 'NO'. If the symbol is present, the information associated with it is copied into the information array passed as the second argument to 'lookup', and 'lookup' returns 'YES'. The symbol table used must have been created by the routine 'mktabl'. The size of the information array must be at least as great as the symbol table node size, specified at its creation. Note that all symbol table routines use dynamic storage space, which must have been previously initialized by a call to 'dsinit'. 'Lookup' calls 'stlu' to determine the location of the symbol in the table. If 'stlu' returns NO, then the symbol is not present, and 'lookup' returns NO. Otherwise, 'lookup' copies the information field from the appropriate node of the symbol table into the information array and returns YES. info stlu enter (2), delete (2), mktabl (2), rmtabl (2), stlu (2), sctabl (2), dsinit (2), dsget (2), dsfree (2)