comp.lang.ada
 help / color / mirror / Atom feed
From: "chris.danx" <spamoff.danx@ntlworld.com>
Subject: Re: arrays..
Date: Mon, 13 May 2002 11:45:24 +0100
Date: 2002-05-13T11:45:24+01:00	[thread overview]
Message-ID: <KPMD8.22312$5L4.3197521@news11-gui.server.ntli.net> (raw)
In-Reply-To: mailman.1021249922.3094.comp.lang.ada@ada.eu.org


"Beard, Frank [Contractor]" <beardf@spawar.navy.mil> wrote in message
news:mailman.1021249922.3094.comp.lang.ada@ada.eu.org...
> Arrays of characters are called strings:
>
>    word : string (1..50);   -- anonymous declaration
>
> or
>
>    type Word_Type is string (1..50);

                   ^^^
this is incorrect (it won't compile).  Should either be

    subtype word_type is string (1..50);

or  type word_type is new string (1..50);


Chris







  reply	other threads:[~2002-05-13 10:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-13  0:30 arrays Beard, Frank [Contractor]
2002-05-13 10:45 ` chris.danx [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-05-29 10:08 Arrays Drey
2003-05-29 12:00 ` Arrays John R. Strohm
2003-05-29 12:22 ` Arrays David C. Hoos, Sr.
2003-05-29 20:36   ` Arrays Drey
2002-05-12 23:34 arrays devine
replies disabled

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