BOOTSTRAP (kexpr) functions


LIBRARY ROUTINE

kexpr_parent_set - set the parent variable list associated with an id

LIBRARY CALL

int kexpr_parent_set(
   long id,
   long parent)

INPUT

OUTPUT

none

RETURN VALUE

TRUE (1) if the child's parent variable list was set to that of the parent, FALSE (0) otherwise

DESCRIPTION

This routine sets the child alternate variable list specified by the parent id. This variable list will be searched when a variable is not found in the current variable list. If the parent's variable list "parent" is set then the procedure is repeated until either the variable is found or no more variable lists are available to search. In short, this routine provides a method of expanding the scope of variables used.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/kexpr/src/routines.c

SEE ALSO

kexpr(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.