Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ptsfa!ames!cit-vax!tybalt.caltech.edu!walton From: walton@tybalt.caltech.edu.UUCP Newsgroups: comp.lang.fortran,comp.lang.pascal Subject: ALLOCATABLE, ARRAY :: A(:) Message-ID: <3164@cit-vax.Caltech.Edu> Date: Tue, 7-Jul-87 12:45:23 EDT Article-I.D.: cit-vax.3164 Posted: Tue Jul 7 12:45:23 1987 Date-Received: Fri, 10-Jul-87 02:29:18 EDT References: <1215@batcomputer.tn.cornell.edu> <105@anumb.UUCP> <3538@watvlsi.UUCP> <107@anumb.UUCP> <1782@pbhye.UUCP> <2303@ames.arpa> Sender: news@cit-vax.Caltech.Edu Reply-To: walton@tybalt.caltech.edu.UUCP (Steve Walton) Organization: Calfornia Institute of Technology Lines: 16 Xref: utgpu comp.lang.fortran:129 comp.lang.pascal:167 I've been living with the Fortran-8x standard (July 87 draft) and have an implementation question: How is one going to do ALLOCATABLE arrays? It looks very difficult to me, because you are allowed to pass an allocated ALLOCATABLE array to a subprogram in which the corresponding dummy argument is *not* ALLOCATABLE. You can also pass an ALLOCATABLE array to a subprogram where the dummy argument is ALLOCATABLE, and said subprogram can allocate and/or deallocate it, as appropriate, with the change in allocated status affecting the calling program. Has anyone seen a Fortran-8x implementation? How is this done? (Actually, if anyone knows of a Fortran-8x compiler, I'd love to get a copy.) Steve Walton, guest as walton@tybalt.caltech.edu AMETEK Computer Research Division, ametek!walton@csvax.caltech.edu "Long signatures are definitely frowned upon"--USENET posting rules