home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / program / language / gofer / Sources / h / command next >
Encoding:
Text File  |  1993-02-12  |  926 b   |  37 lines

  1. /* --------------------------------------------------------------------------
  2.  * command.h:   Copyright (c) Mark P Jones 1991-1993.   All rights reserved.
  3.  *              See goferite.h for details and conditions of use etc...
  4.  *              Gofer version 2.28 January 1993
  5.  *
  6.  * Interpreter command structure
  7.  * ------------------------------------------------------------------------*/
  8.  
  9. typedef Int Command;
  10.  
  11. struct cmd {
  12.     String cmdString;
  13.     Command cmdCode;
  14. };
  15.  
  16. extern Command readCommand Args((struct cmd *, Char, Char));
  17.  
  18. #define EDIT    0
  19. #define FIND    1
  20. #define LOAD    2
  21. #define ALSO    3
  22. #define PROJECT 4
  23. #define RELOAD  5
  24. #define EVAL    6
  25. #define TYPEOF  7
  26. #define HELP    8
  27. #define NAMES   9
  28. #define BADCMD  10
  29. #define SET     11
  30. #define QUIT    12
  31. #define SYSTEM  13
  32. #define CHGDIR  14
  33. #define INFO    15
  34. #define NOCMD   16
  35.  
  36. /*-------------------------------------------------------------------------*/
  37.