RATFOR(1) COMMAND REFERENCE RATFOR(1)
NAME
ratfor - rational FORTRAN dialect
SYNOPSIS
ratfor [ -h ][ -C ][ -6 ][ filename... ]
DESCRIPTION
Ratfor converts a rational dialect of FORTRAN into ordinary
irrational FORTRAN. Ratfor provides control flow constructs
essentially identical to those in C:
Statement grouping:
{ statement; statement; statement }
Decision-making:
if (condition) statement [ else statement ]
switch (integer value) {
case integer: statement
[ default: ] statement
}
Loops:
while (condition) statement
for (expression; condition; expression) statement
do limits statement
repeat statement [ until (condition) ]
break
next
Free form input:
multiple statements/line; automatic continuation
Comments:
# this is a comment
Translation of relationals:
>, >=, etc., become .GT., .GE., and so forth.
Return (expression)
returns expression to caller from function
Define:
define name replacement
Include:
include filename
Ratfor is best used with efl(1) and f77(1).
OPTIONS
-h Converts a string `...' to 27h....
Printed 10/17/86 1
RATFOR(1) COMMAND REFERENCE RATFOR(1)
-C Generates comments in the output.
-6 Sets continuation field to 6, the default being 1 for
UTek. It may be followed by a character to be used as
the continuation character. If none is given the
default is &.
SEE ALSO
f77(1).
Printed 10/17/86 2
%%index%%
na:72,69;
sy:141,192;
de:333,1279;
op:1612,113;1869,284;
se:2153,115;
%%index%%000000000103