🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.fortran
Article #4656

accessing character arrays...

#4656
From: Brad Banko
Date: Thu, 04 Dec 1986 00:13
22 lines
1037 bytes
how do you access characters in arrays of character*n?

I am using Vax Fortran, and would like to access individual characters in
an array of character*n:

	character*n	a(m)

I want it to be "m lines of n character 'strings'", but fortran won't let
me access character y in "line" x with:

		a(x,y), or a(x)(y)...

what to do?	(BTW, I have read the Vax Fortran manual, and it is little
help in this particular area.)

	Thanks,


-- 
			Brad Banko
			...!decvax!cwruecmp!ncoast!btb
			Cleveland, Ohio
Technical Details
Message-ID: <1772@ncoast.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!clyde!cbatt!cwruecmp!hal!ncoast!btb

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!clyde!cbatt!cwruecmp!hal!ncoast!btb
From: btb@ncoast.UUCP (Brad Banko)
Newsgroups: comp.lang.fortran
Subject: accessing character arrays...
Message-ID: <1772@ncoast.UUCP>
Date: Wed, 3-Dec-86 19:13:05 EST
Article-I.D.: ncoast.1772
Posted: Wed Dec  3 19:13:05 1986
Date-Received: Thu, 4-Dec-86 09:16:08 EST
Reply-To: btb@ncoast.UUCP (Brad Banko)
Organization: Cleveland Public Access UNIX, Cleveland, OH
Lines: 22