sds_putsym

int sds_putsym (const char *symbol, struct sds_resbuf *value);


Set this LISP symbol to that value.


This function finds or creates a LISP symbol and stores a value.

The argument symbol is the name of the LISP symbol in which you want to store a given value. When this symbol already exists, the value is simply stored there. If not, it is created, then the value is stored in it.

The argument value is the result buffer from which the value is obtained.

This function returns RTNORM or RTERROR with an error code.

Example

struct sds_resbuf valuein;

valuein.restype=RTREAL;

valuein.resval.rreal=121.50;

sds_putsym("LISPsym",&valuein); // Put value in symbol "LISPsym

Tell me about...

Programming Overview of SDS™ (Solutions Development System™)

sds_getsym