| sdleiF | |
| string cmdhandler | cmdhandler |
| int msgtype0 .. 10 = Standard1 = Server style | Message type |
| int quiet0 .. 1 (false/true) | Quiet modeenabled by -Q |
| multiline string script | Script |
| object stdin RO | Standard input file |
| object stdout RO | Standard output file |
| snoitcnuF | |
| function addMacro(string name, int numargs, string definition, string helptext)doesn't return a value | Add macro |
| function execute(string command)doesn't return a value | Execute |
| function findAndExpandMacro(string text)returns string | Find and expand macro |
| function listMacros()doesn't return a value | List macros |
| function print(string text)doesn't return a value | print() |
| function println(string text)doesn't return a value | println() |
| function quit() | Quit |
| function removeMacro(string name, int numargs)doesn't return a value | Remove macro(numargs==-2) means remove all macros matching the name, otherwise only one definition is removed |