sds_defun

int sds_defun (const char *funname, int funcode);


Define a new LISP function and its code.


This function defines a LISP function by associating its function name, which the user can type at the command line, with its function code and which can be used by sds_getfuncode.

The command to undefine the function is sds_undef, which requires the same arguments.

The argument funname represents the command to be typed at the command line. The argument funcode represents the function code, by which sds_getfuncode can access this function.

This function returns one of the following: RTNORM or an error code.

Tell me about...

Programming Overview of SDS™ (Solutions Development System™)

sds_getfuncode

sds_undef