home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / tvision / vlstde / commands.hpp next >
Encoding:
C/C++ Source or Header  |  1992-02-12  |  1.3 KB  |  50 lines

  1. // commands.hpp
  2. //    written by Gregory K. Miskin
  3. //    COPYRIGHT (C) 1992.  All Rights Reserved.
  4. //    Gregory K. Miskin, Orem, Utah  USA
  5.  
  6. #ifndef _commands_hpp
  7. #define _commands_hpp
  8.  
  9. #define  SPACE            32
  10. #define     TRUE            1
  11. #define     FALSE            0
  12.  
  13. #define CR                13
  14. #define LF                10
  15. #define FF                12
  16. #define BLANK            32
  17. #define COMMA            44
  18.  
  19. extern ushort GeneralFlag;
  20.  
  21. //*------------------------------------------------------------------------*/
  22. //  name database field numbers
  23. //*------------------------------------------------------------------------*/
  24. const int nmFIRST_NAME    = 1;
  25. const int nmLAST_NAME    = 2;
  26. const int nmSTREET        = 3;
  27. const int nmCITY            = 4;
  28. const int nmSTATE            = 5;
  29. const int nmZIP            = 6;
  30.  
  31. //*------------------------------------------------------------------------*/
  32. //  TurboVision command constants
  33. //*------------------------------------------------------------------------*/
  34. const int cmAboutCmd    = 100;
  35. const int cmChDirCmd    = 101;
  36. const int cmDOS_Cmd     = 102;
  37. const int cmSaveCmd     = 103;
  38. const int cmBrowse      = 104;
  39. const int cmRestore     = 105;
  40. const int cmDelete      = 106;
  41. const int cmNextRec     = 107;
  42. const int cmPrevRec     = 108;
  43. const int cmTop         = 109;
  44. const int cmBottom      = 110;
  45. const int cmClearScr    = 111;
  46. const int cmSave        = 112;
  47. const int cmEnd            = 113;
  48.  
  49. #endif
  50.