Return this value to LISP.
This function returns the value contained in the result buffer to LISP.
The argument value is a result buffer containing any of the usual types, which may be returned to the calling LISP function.
This function returns RTNORM or RTERROR.
Example
struct sds_resbuf *argbuf;
sds_getsym("argument",&argbuf);
if(argbuf==NULL) return(RTERROR);
sds_printf("\nThe type is %i.",argbuf->restype);
switch(argbuf->restype){
case RTREAL:
sds_printf("\nThe value is %f. ",argbuf->resval.rreal);
break;
// And so on through the other cases.
}
sds_retval(argbuf);
Tell me about...
Programming Overview of SDS™ (Solutions Development System™)