comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.not.jrcarter@acm.not.spam.org>
Subject: Re: STRING length
Date: Wed, 15 Nov 2006 01:29:57 GMT
Date: 2006-11-15T01:29:57+00:00	[thread overview]
Message-ID: <p4u6h.1063044$084.663181@attbi_s22> (raw)
In-Reply-To: <1163552946.479495.27330@h48g2000cwc.googlegroups.com>

markww wrote:
>         Add_Record("Mark", "555-555-5555", "123 main street");
> 
>     expected private type "Ada.Strings.Unbounded.Unbounded_String"

As the message says, Unbounded_String is a private type. String literals 
are only defined for string types. You need to supply values of type 
Unbounded_String here. You might want to spend a moment reviewing the 
operations in Ada.Strings.Unbounded to see how to do that.

-- 
Jeff Carter
"Help! Help! I'm being repressed!"
Monty Python & the Holy Grail
67



  parent reply	other threads:[~2006-11-15  1:29 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-14 22:51 STRING length markww
2006-11-14 22:24 ` Georg Bauhaus
2006-11-15  0:44   ` markww
2006-11-15  1:09     ` markww
2006-11-15  1:21       ` Ludovic Brenta
2006-11-15  1:29       ` Jeffrey R. Carter [this message]
2006-11-15  2:13         ` markww
2006-11-15  1:17     ` Ludovic Brenta
2006-11-15  1:27 ` Jeffrey R. Carter
2006-11-15 16:28 ` Martin Krischik
2006-11-16  8:25 ` Jerry
  -- strict thread matches above, loose matches on Subject: below --
1998-10-01  0:00 String Length mincus
1998-10-02  0:00 ` Pascal Obry
1998-10-02  0:00   ` Ehud Lamm
replies disabled

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