Next: Application
Up: Programmer's manual
Previous: Variables
- 1.
- Define the name of the new command in
extend.h:
For example #define TEST_CMDNAME "test".
- 2.
- Implement its function in
extend.c:
BOOL TestCommand (int argc, char **argv);
- 3.
- ``Create'' it with
CreateCommand(TEST_CMDNAME,TestCommand,NULL);
Werner Scholz
12/19/1997