From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,98e31cfcb43ed04e X-Google-Attributes: gid103376,public From: Chad Bremmon Subject: Re: What's the point? Date: 1996/08/08 Message-ID: <3209CDC8.8A4@comm.hq.af.mil>#1/1 X-Deja-AN: 172935252 references: <32064473.59F6@freenet.scri.fsu.edu> content-type: text/plain; charset=us-ascii organization: SAM-GAPR mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.01Gold (WinNT; I) Date: 1996-08-08T00:00:00+00:00 List-Id: The Quelisher wrote: > It worked exactly the same way in the language formerly known as Ada. There is, however, a reason. __________________ For example: Pointer_a := pointer_b; does that mean the contents of pointer a := the contents of pointer b or does it mean they now point to the same thing. In Ada, it means that pointer_a and pointer_b now point to the same thing. It cannot be automatically dereferenced. However, if I want to dereference in this situation, I must use ".all" to dereference explicitly. Pointer_a.all := Pointer_B.all; This will copy the contents of Pointer_b into the contents of pointer_a. Chad > If Ada95 allows dereferencing the ".all" call for pointer variables, > then what's the point of even having a ".all" call in the first place? > Is this a carryover from Ada83 or something? > -- > *.........................................* > . |/ . > . |\ENDAL . > . WWW => http://www.cs.fsu.edu/~vandyke . > . EMail => kendal@freenet.scri.fsu.edu . > . Pager => (904) 297-6658 . > . . > *.........................................*