VMS Help  —  FORTRAN  /RECURSIVE D=/NORECURSIVE
  /[NO]RECURSIVE

  Controls whether VSI Fortran generates code and allocates data
  so that a subroutine or function can be called recursively.

  The default is /NORECURSIVE.

  Specifying /RECURSIVE does the following:

   o  Changes the default allocation class for all local variables
      from STATIC to AUTOMATIC, except for variables that are
      data-initialized, named in a SAVE statement, or declared as
      STATIC.

   o  Permits reference to a routine name from inside the routine.

  Subprograms declared with the RECURSIVE keyword are always
  recursive (whether you specify or omit the /RECURSIVE qualifier).

  Data objects declared as AUTOMATIC always use stack-based storage
  (whether you specify or omit the /RECURSIVE or /AUTOMATIC
  qualifiers).

  Specifying /RECURSIVE sets /AUTOMATIC.

  You can also specify this qualifier using the OPTIONS statement.
Close Help