Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site alice.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!alice!ark From: ark@alice.UUCP (Andrew Koenig) Newsgroups: net.micro.pc,net.lang.f77 Subject: Re: stupid problem in fortran Message-ID: <3658@alice.UUCP> Date: Fri, 26-Apr-85 11:13:44 EST Article-I.D.: alice.3658 Posted: Fri Apr 26 11:13:44 1985 Date-Received: Sat, 27-Apr-85 05:19:30 EST References: <5318@tektronix.UUCP> Organization: Bell Labs, Murray Hill Lines: 21 Xref: watmath net.micro.pc:3776 net.lang.f77:270 From the Fortran 77 standard, pages 10-2 to 10-3: The form of a character assignment statement is: v = e where: v is the name of a character variable, character array element, or character substring e is a character expression Execution of a character assignment statement causes the evaluation of the expression e and the assignment and definition of v with the value of e. None of the character positions being defined in v may be referenced in e. Thus, a statement of the form var = 'c' // var violates the standard and an implementor is not obliged to allow it or even implement it sensibly.