This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

CFormTeXForm

FortranForm

FilledSmallSquareFortranForm[expr] prints as a Fortran language version of expr.

FilledSmallSquare Standard arithmetic functions and certain control structures are translated.

FilledSmallSquareFortranForm acts as a "wrapper", which affects printing, but not evaluation.

FilledSmallSquare The width of output lines must be set explicitly by giving the option PageWidth -> n for the relevant output stream.

FilledSmallSquareSetOptions[$Output, PageWidth -> 72] uses a line width of 72 characters for standard Mathematica output.

FilledSmallSquare No declarations are generated.

FilledSmallSquare See The Mathematica Book: Section 1.11.8 and Section 2.8.1.

FilledSmallSquare See also: CForm, Compile.

Further Examples

CFormTeXForm