RATFOR(1) COMMAND REFERENCE RATFOR(1) NAME ratfor - rational FORTRAN dialect FORTRAN is optional. 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.... -C Generates comments in the output. Printed 4/6/89 1
RATFOR(1) COMMAND REFERENCE RATFOR(1) -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 4/6/89 2
%%index%% na:288,112; sy:400,272; de:672,1646; op:2318,210;2888,236; se:3124,145; %%index%%000000000105