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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham 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!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!204.127.204.224.MISMATCH!wns14feed!worldnet.att.net!attbi_s22.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" Organization: jrcarter at acm dot org User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: STRING length 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> In-Reply-To: <1163552946.479495.27330@h48g2000cwc.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s22 1163554197 12.201.97.213 (Wed, 15 Nov 2006 01:29:57 GMT) NNTP-Posting-Date: Wed, 15 Nov 2006 01:29:57 GMT Date: Wed, 15 Nov 2006 01:29:57 GMT Xref: g2news2.google.com comp.lang.ada:7464 Date: 2006-11-15T01:29:57+00:00 List-Id: 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