BOOTSTRAP (kexpr) functions


LIBRARY ROUTINE

kexpr_evaluate_generic - evaluate an expression and return result using the desired data type

LIBRARY CALL

int kexpr_evaluate_generic(
   long  id,
   char  *string,
   int   type,
   kaddr value,
   char  *error)

INPUT

OUTPUT

RETURN VALUE

TRUE (1) on success, FALSE (0) otherwise

DESCRIPTION

This routine evaluates the input string and returns a generic value of the expression according to the desired data type. See the kexpr_evaluate_{data type} for specific information about evaluation of an expression for the desired data type.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

Variable values may be changed by assignment statements.

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.