From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7bf23c8e794b6462 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!k70g2000cwa.googlegroups.com!not-for-mail From: "markww" Newsgroups: comp.lang.ada Subject: Re: STRING length Date: 14 Nov 2006 18:13:17 -0800 Organization: http://groups.google.com Message-ID: <1163556797.511329.313780@k70g2000cwa.googlegroups.com> References: <1163544675.070347.64490@h54g2000cwb.googlegroups.com> <1163543045.5361.12.camel@localhost.localdomain> <1163551453.005505.131470@h54g2000cwb.googlegroups.com> <1163552946.479495.27330@h48g2000cwc.googlegroups.com> NNTP-Posting-Host: 68.174.181.181 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1163556803 21988 127.0.0.1 (15 Nov 2006 02:13:23 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 15 Nov 2006 02:13:23 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: k70g2000cwa.googlegroups.com; posting-host=68.174.181.181; posting-account=cNKOMg0AAADT2ug8oGSYYXo8bsDvrHzw Xref: g2news2.google.com comp.lang.ada:7465 Date: 2006-11-14T18:13:17-08:00 List-Id: Yay fantastic To_Unbounded_String() cleared it up. I have been going through the tutorials at: http://www.infres.enst.fr/~pautet/Ada95/a95list.htm but they only use fixed length strings there. Thanks for the link with the other tutorials, I'll check it out. Thanks for everyone's help as always, Mark On Nov 14, 8:29 pm, "Jeffrey R. Carter" wrote: > 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