From: lionel@quark.enet.dec.com (Steve Lionel)
Subject: Re: FORTRAN arg lists on AXP
Date: 3 Mar 1995 14:49:29 GMT [thread overview]
Message-ID: <3j7a9p$d57@jac.zko.dec.com> (raw)
In-Reply-To: 3j2q8v$5hc@arc.electriciti.com
In article <3j2q8v$5hc@arc.electriciti.com>, jjo@triton.com (Jay Olson) writes:
|>I am converting some VAX MACRO code to FORTRAN as part of an AXP conversion
|>effort. Some of the entry points in this code are supposed to accept variable length
|>argument lists. Is there any way in DEC FORTRAN for OpenVMS/AXP (or any other
|>language) to determine the number of arguments a subroutine has been passed?
DEC Fortran has the IARGCOUNT intrinsic for this purpose. Please be aware
that the Fortran language does not provide for omitting arguments when calling
Fortran routines and that this is not really supported. It works most of
the time, as long as the argument you omit is not CHARACTER or used in an
adjustable array bounds expression. Be sure to declare VOLATILE any argument
which may be omitted. For further details, see the DEC Fortran release notes.
--
Steve Lionel Mail: lionel@quark.enet.dec.com
DEC Fortran Development WWW: http://www.digital.com/info/slionel.html
Digital Equipment Corporation CompuServe: 75263,3001
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698 "Free advice is worth every cent"
For a summary of Digital's Internet services, send mail to info@digital.com
next prev parent reply other threads:[~1995-03-03 14:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-03-01 21:51 FORTRAN arg lists on AXP Jay Olson
1995-03-03 14:49 ` Steve Lionel [this message]
1995-03-06 20:36 ` shumaker
1995-03-06 23:57 ` Martin Cohen
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox