comp.lang.ada
 help / color / mirror / Atom feed
From: Rob Solomon <usenet@drrob1-noreply.com>
Subject: Why is this not legal
Date: Mon, 28 Sep 2009 20:11:26 -0400
Date: 2009-09-28T20:11:26-04:00	[thread overview]
Message-ID: <03k2c5lvkk6o9ihd9hbhpnobieoupjg9pc@4ax.com> (raw)

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?

Thanks



             reply	other threads:[~2009-09-29  0:11 UTC|newest]

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