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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bc7fae210b5e1392 X-Google-Attributes: gid103376,public From: "Matthew Heaney" Subject: Re: how do i include 111111 in an enumaration type ? Date: 1999/10/12 Message-ID: <38033f0b_3@news1.prserv.net>#1/1 X-Deja-AN: 535810990 Distribution: world Content-transfer-encoding: 7bit References: <7tsq3o$92p$1@minus.oleane.net> <38021792_4@news1.prserv.net> <7ttuvt$ssb$1@minus.oleane.net> Content-Type: text/plain; charset="US-ASCII" X-Complaints-To: abuse@prserv.net X-Trace: 12 Oct 1999 14:00:43 GMT, 32.101.8.206 Organization: Global Network Services - Remote Access Mail & News Services Mime-version: 1.0 Newsgroups: comp.lang.ada Date: 1999-10-12T00:00:00+00:00 List-Id: In article , lutz@iks-jena.de (Lutz Donnerhacke) wrote: > After some failtures to use Ada.Strings.Unbounded--I hate To_Unbound...-- > I came up with code like this: Your code segment is completely wrong. Do not use raw access types. Use Unbounded_String, which does automatic garbage collection. If To_Unbounded_String offends you, then just rename that function as an operator: function "+" (S : String) return Unbounded_String renames To_Unbounded_String; -- Why stop at evolution and cosmology, though? Let's make sure that the schoolkids of Kansas get a really first-rate education by loosening up the teaching standards for other so-called scientific ideas that are, after all, just theories. The atomic theory, for example. The theory of relativity. Heck, the Copernican theory--do we really know that the universe doesn't revolve around the earth? John Rennie, Scientific American, Oct 1999