FORT INDEX

FORT _ _ _ _ _ _ _ _ _ _ _ _ switch

When fort is on, output is given Fortran-compatible syntax. Default is off.

examples:


on fort; 

df(sin(7*x + y),x); 

  ANS=7.*COS(7*X+Y) 


on rounded; 

b := log(sin(pi/5 + n*pi)); 

  	       B=LOG(SIN(3.14159265359*N+0.628318530718))

REDUCE results can be written to a file (using out) and used as data by Fortran programs when fort is in effect. fort knows about correct statement length, continuation characters, defining a symbol when it is first used, and other Fortran details.

The GENTRAN package offers many more possibilities than th e fort switch. It produces Fortran (or C or Ratfor) code from REDUCE procedures or structured specifications, including facilities for producing double precision output.