File:  [CSRG BSD Unix] / 43BSDTahoe / usr.bin / f77 / testf77 / tests / fs057.f
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe

c
c     comment section
c
c     fs057
c
c          this subroutine is called by the main program fm056.  the
c     single argument passed from fm056 along with a second parameter
c     created in fs057 are then passed via a call to subroutine fs058.
c     a result from an arithmetic operation is returned from fs058 in
c     the first argument.  fs057 accepts this result and returns control
c     to fm056 without any additional processing.
c
c          the values of the arguments that are passed from fm056 to
c     fs057 and returned are saved in an integer array for later
c     verification by the main program.
c
c      references
c        american national standard programming language fortran,
c              x3.9-1978
c
c        section 15.6, subroutines
c        section 15.6.2, subroutine reference
c        section 15.8, return statement
c
c     test section
c
c         subroutine subprogram
c
      subroutine fs057 (ivon01)
      common iacn11 (12)
      iacn11 (1) = ivon01
      ivon02 = 4
      iacn11 (2) = ivon02
      call fs058 (ivon01,ivon02)
      iacn11 (11) = ivon01
      return
      end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.