comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: Why is this not legal
Date: Wed, 30 Sep 2009 10:39:55 +0200
Date: 2009-09-30T10:39:55+02:00	[thread overview]
Message-ID: <4ac3195c$1@news.post.ch> (raw)
In-Reply-To: <03k2c5lvkk6o9ihd9hbhpnobieoupjg9pc@4ax.com>

Rob Solomon schrieb:
> I am trying to write some simple string manipulations but am getting
> an error I don't understand.
> 
>   type WordEntryType is String(1..MaxLineLength);
> 
> This is flagged as not legal.  GNAT want it to read 
> IS NEW String
> 
> But that means the type is not a standard string.
> 
> What am I missing?

The question has been answered but for more info see:

http://en.wikibooks.org/wiki/Ada_Programming/Type_System

;-)

Martin
-- 
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com



  parent reply	other threads:[~2009-09-30  8:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-29  0:11 Why is this not legal Rob Solomon
2009-09-29  0:23 ` Adam Beneschan
2009-09-29  2:06   ` Rob Solomon
2009-10-01 20:54   ` Keith Thompson
2009-09-30  8:39 ` Martin Krischik [this message]
2009-09-30  5:10   ` stefan-lucks
replies disabled

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