home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_100 / 109_01 / globals.wp < prev    next >
Text File  |  1985-03-10  |  1KB  |  40 lines

  1. /*
  2.     Globals
  3. */
  4.  
  5.     int curpag;        /* current output page number (init 0) */
  6.     int newpag;        /* next output page number (init 1) */
  7.     int lineno;        /* next line to be printed (init 0) */
  8.     int plval;        /* page length in lines (init PAGELEN) */
  9.     int m1val;        /* margin before and including header */
  10.     int m2val;        /* margin after header */
  11.     int m3val;        /* margin after last text line */
  12.     int m4val;        /* bottom margin including footer */
  13.     int bottom;        /* last live line on page */
  14.     char header[MAXLINE];    /* (init '\n') */
  15.     char footer[MAXLINE];    /* (init '\n') */
  16.  
  17.     char wrdbuf[INSIZE];    /* should be static in text() */
  18.  
  19.     char fill;        /* fill if YES (init YES) */
  20.     int lsval;        /* current line spacing (init 1) */
  21.     int inval;        /* current indent >= 0 (init 0) */
  22.     int rmval;        /* current right margin (init PAGEWIDTH) */
  23.     int tival;        /* current temporary indent (init 0) */
  24.     int ceval;        /* # of lines to be centered (init 0) */
  25.     int ulval;        /* # of lines to be underlined (init 0) */
  26.  
  27.     char argtyp;        /* '+', '-' or '0' argument type */
  28.  
  29.     int outp;        /* last char pos in outbuf (init 0) */
  30.     int outw;        /* width of outbuf */
  31.     int outwds;        /* # of words in outbuf */
  32.     char outbuf[MAXOUT];    /* lines to be filled collect here */
  33.  
  34.     char dir;        /* direction from which to add blanks */
  35.  
  36.     char *outfile;        /* buffered output file structure pointer */
  37.  
  38.  
  39.  
  40.