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.6 required=5.0 tests=BAYES_20,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a5bde054ac3effc5 X-Google-Attributes: gid103376,public From: "Michael F. Yoder" Subject: Re: Unbounded string deallocation Date: 1999/08/26 Message-ID: <37C52A5D.7DEC8563@decada.zko.dec.com>#1/1 X-Deja-AN: 518339352 Content-Transfer-Encoding: 7bit References: <37C46FD4.A42CC1A1@res.raytheon.com> <7q1tff$1n9$1@cnn.Princeton.EDU> <37C54509.17E067C1@res.raytheon.com> <37c552fd@news1.us.ibm.net> Organization: Compaq Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-08-26T00:00:00+00:00 List-Id: Matthew Heaney wrote: > o To_Unbounded_String takes type String as an argument; it does NOT take an > integer type. Not so, Matthew. See A.4.5(10) and A.4.5(76). The "new" in Andy's code is incorrect, and the function should be named To_Unbounded_String, but this is a way to yield an uninitialized string of the desired length. -- Michael F. Yoder Unscientific man is beset by a deplorable desire to have been right. The scientist is distinguished by a desire to *be* right. -- W.V. Quine