SPL supports an automatic help facility. The text in the SPL file myfun.spl between the #if @HELP_MYFUN and #endif directives is displayed as help text when the user types help myfun. For example,
#if @HELP_MYFUN
MYFUN
This is a line of help text
for the function myfun
#endif
myfun(x)
{
return(x*x);
}
Now, typing help myfun at the command line displays:
See the SPL files located in your SPL directory for examples of help text formats.