Get the value of a symbol from LISP.
This function retrieves the value of a LISP symbol.
The argument const char symname represents the name of the LISP symbol whose value you want to retrieve.
The valueout argument is a pointer to the result buffer into which the type and value from the LISP symbol symname are stored.
This function returns RTERROR or RTNORM.
Example
struct sds_resbuf *valueout;
sds_getsym("LISPsym",&valueout);
switch(valueout->restype){
case RTREAL:
sds_printf("\nLISPsym's value is %f. ",valueout->resval.rreal);
break;
etc.
Tell me about...
Programming Overview of SDS™ (Solutions Development System™)