Artifact 7eab18ceec37098c71519136f7793b21ff62c6251a0678ffbd4a1699c61b9185:
- Executable file
r37/lisp/csl/html/r37_0289.html
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 1106) [annotate] [blame] [check-ins using] [more...]
<A NAME=FORT> <TITLE>FORT</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>FORT</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>switch</B><P> <P> <P> <P> When <em>fort</em> is on, output is given Fortran-compatible syntax. Default is <em>off</em>. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> 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)) </TT></PRE><P>REDUCE results can be written to a file (using <A HREF=r37_0233.html>out</A>) and used as data by Fortran programs when <em>fort</em> is in effect. <em>fort</em> knows about correct statement length, continuation characters, defining a symbol when it is first used, and other Fortran details. <P> <P> The <A HREF=r37_0651.html>GENTRAN</A> package offers many more possibilities than th e <em>fort</em> switch. It produces Fortran (or C or Ratfor) code from REDUCE procedures or structured specifications, including facilities for producing double precision output. <P> <P> <P>