home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / devtools / os2tk21j / c / samples / tp / suep.cs_ / suep.csc
Encoding:
Text File  |  1993-03-12  |  1.0 KB  |  42 lines

  1. #   @(#)suep.csc 1.3 1/22/92 16:11:09 [1/26/92] (c)IBM Corp. 1992
  2.  
  3. -- This class is adapted from the book
  4. --   Class Construction in C and C++, Object Oriented Fundamentals
  5. --   by Roger Sessions, Copyright (c) 1992 Prentice Hall.
  6. -- Reprinted with permission.
  7.  
  8. include "ep.sc"
  9.  
  10. class: setUpEnvProcessor,
  11.   local;
  12.  
  13. parent: envProcessor;
  14.  
  15. /*
  16. ----------------------------------------------------
  17.   Class: setUpEnvProcessor
  18.  
  19. Purpose: This environment processes the setup information
  20.      which starts the input file.  An example of such
  21.      information is
  22.  
  23.      width 60
  24.      height 15
  25.      columns 2
  26.  
  27.      The three sub-commands recognized by this environment
  28.      are width, height, and columns, which determined the
  29.      width and height (in characters) of an output page,
  30.      and the number of output print columns.
  31. ---------------------------------------------------- */
  32.  
  33.  
  34. methods:
  35.  
  36.   int suReadIntWord();
  37.   -- Used to read an integer word.
  38.  
  39.   void suProcessOptions();
  40.   -- Used to process set up options.
  41.  
  42.