1: # include "e.h"
   2: # include "e.def"
   3: 
   4: move(dir, amt, p) int dir, amt, p; {
   5:     int a;
   6: 
   7:     yyval = p;
   8: /*	a = VERT( (amt+49)/50 );	 nearest number of half-lines */
   9:     a = amt;   /* changed to units, stan */
  10:     printf(".ds %d ", yyval);
  11:     if( dir == FWD || dir == BACK ) /* fwd, back */
  12:         printf("\\h'%s%du'\\*(%d\n", (dir==BACK) ? "-" : "", a, p);
  13:     else if (dir == UP)
  14:         printf("\\v'-%du'\\*(%d\\v'%du'\n", a, p, a);
  15:     else if (dir == DOWN)
  16:         printf("\\v'%du'\\*(%d\\v'-%du'\n", a, p, a);
  17:     if(dbg)printf(".\tmove %d dir %d amt %d; h=%d b=%d\n",
  18:         p, dir, a, eht[yyval], ebase[yyval]);
  19: }

Defined functions

move defined in line 4; used 8 times
Last modified: 1981-07-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 598
Valid CSS Valid XHTML 1.0 Strict