NAME

sat - convert sep77 temps and shorthand to fortran90


SYNOPSIS

 sat in.rt  > out.r             


DESCRIPTION

Sep Auto Temporary space allocater in ratfor/fortran subroutines


INPUT PARAMETERS

in.rt - file

      contains [main and] subroutines


COMMENTS

subroutine goodie(n1) # comment not allowed on subroutine

integer n1,n2

common /comvar/n2 # common variable for array dimension

temporary real x(n1,n2) # comment not allowed here either

temporary complex*8 y(n1+10,n2)

temporary real paddata(n1+n2,n2)

IMPORTANT: Sat uses two subroutines: ``fortalloc'' and ``fortfree''. To link to these subroutines link to seplib.

Sat can be used on the output of saw, but not the contrary.

Line containing Ratfor on-line comments are passed unchanged and thus on-line comments must be avoided in lines containing sat keywords.

Avoid variable and subroutine names containing ``tempall''.

 note, AWKFILE is replaced by the correct value by a sed step in the makefile.

 note, AWK_PROG is replaced by the correct value by a sed step in the makefile.


SEE ALSO

the saw manpage


CATEGORY

tools