From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,2952d0a9df61022d X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-03-03 13:09:47 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!bloom-beacon.mit.edu!newsserver.pixel.kodak.com!news.consultix.com!newshost.marcam.com!news.mathworks.com!uunet!powergrid.electriciti.com!usenet From: jjo@triton.com (Jay Olson) Newsgroups: comp.sys.dec Subject: FORTRAN arg lists on AXP Date: 1 Mar 1995 21:51:27 GMT Organization: Triton Software Group Ltd. Message-ID: <3j2q8v$5hc@arc.electriciti.com> Reply-To: jjo@triton.com (Jay Olson) NNTP-Posting-Host: slip05.cs1.electriciti.com X-Newsreader: IBM NewsReader/2 v1.02 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? Note that this is the case where the number of commas may vary (e.g CALL XXX(A1,A2) and CALL XXX(A1) are both supposed to be allowed). I can use %LOC to determine if an argument has been left out, as in CALL XXX(A1,). - Jay Olson Triton Software Group Ltd.