comp.lang.ada
 help / color / mirror / Atom feed
From: David Smith <david.smith@gmail.com>
Subject: Apostrophe question
Date: 1 May 2007 13:36:55 -0700
Date: 2007-05-01T13:36:55-07:00	[thread overview]
Message-ID: <1178051815.717834.317520@n76g2000hsh.googlegroups.com> (raw)

I've read a number of Ada tutorials now, and I'm unclear on when the
apostrophe is required in certain spots.  For example, why is it used
here:

Father : Person_Access := new Person'(Father_First_Name,
Father_Last_Name);

but not here:

type Float_Array is array(Integer range <>) of Float;
type Float_Array_Access is access Float_Array;
V : Float_Array_Access := new Float_Array(1 .. 3);

I'm sure there is a page about this somewhere, but I can't find it.
If someone could point me in the right direction, I'd appreciate it.

-Dave




             reply	other threads:[~2007-05-01 20:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-01 20:36 David Smith [this message]
2007-05-02  2:48 ` Apostrophe question Matthew Heaney
2007-05-02 10:24 ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox