Here are some other useful functions.
void load_file(char * filename)
Loads the file specified by filename (the sc suffix used in the given files is not required, Smac does not use default suffixes), all included definitions and declarations are added in the global environment, free expressions are executed.
void error(char * msg)
Aborts the current execution and prints msg. If Smac was
called from Xcoral, control is given back to Xcoral and
msg is printed in a special window (see also display
§7.3.12 page ) and the stack of last called functions is
void showed_stack_size(int height)
Sets the number of last called functions given when an error occurred, default value is 10.