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: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: What's the point? Date: 1996/08/10 Message-ID: #1/1 X-Deja-AN: 173466834 references: <32064473.59F6@freenet.scri.fsu.edu> <3209CDC8.8A4@comm.hq.af.mil> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-08-10T00:00:00+00:00 List-Id: The Quelisher said "> 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?" x.all is just like *x in C. The only difference is that in Ada you can optionally omit the explicit deference if you select a component (e.g. x.c can be used instead of x.all.c) or if you index an array (e.g. x(a..b) can be used instead of x.all(a..b))