Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Transfer and variables that don't use all their storage space.
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Richard Maine  
View profile  
 More options Apr 9 2007, 1:54 am
Newsgroups: comp.lang.fortran
From: nos...@see.signature (Richard Maine)
Date: Sun, 8 Apr 2007 22:54:18 -0700
Local: Mon, Apr 9 2007 1:54 am
Subject: Re: Transfer and variables that don't use all their storage space.

James Giles <jamesgi...@worldnet.att.net> wrote:
> Still, I don't see the ALLOCATABLE components problem as all
> that bad.  The result of TRANSFER must be assigned or it's lost.
> (OK, it could also be an actual argument to a procedure, and maybe
> there are other uses I can't think of on an Easter night.  But let's
> consider the obvious first.)

Yes, I did. And I agree that can fix it. I didn't post those details,
but I came to the same conclusion as you did about the likely result of
using assignment. But I claim that the actual argument case can cause
crashes and other "havoc" in code that the standard appears to claim is
standard-conforming and *NOT* processor-dependent. In particular, the
bit about the result having the same value as E is stated as an absolute
- not a processor dependence.

And no, I don't think the authors of the standard consciously thought
about such things. Rather the opposite, I think such matters were
completely overlooked in writing the simplistic words that Brooks cited.

--
Richard Maine                    | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle           |  -- Mark Twain


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.