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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,bd3300f3a56e7f45 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-19 04:02:02 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!news.agarik.com!news.agarik.com!213.56.31.76.MISMATCH!nnx.oleane.net!oleane!nnrp.oleane.net!skymaster!nobody From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: different compilers: different standard types????? Date: Fri, 19 Mar 2004 11:16:13 +0100 Organization: Adalog Message-ID: References: <200403181313.16003.maa@liacc.up.pt> NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1079697721 24022 195.25.228.57 (19 Mar 2004 12:02:01 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Fri, 19 Mar 2004 12:02:01 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: archiver1.google.com comp.lang.ada:6438 Date: 2004-03-19T11:16:13+01:00 List-Id: "Marius Amado Alves" a �crit dans le message de news:mailman.112.1079678230.327.comp.lang.ada@ada-france.org... > String is another slightly disturbing thing. I'd rather have an Ada.Arrays > generic on the types of index and element. Talk small. And then the same > "create your own integers" argument would apply here. Create your own > Strings. But this is designing a new language. (No, not C.) > But you can define your own string type: type My_String is array (whatever range <>) of characters; It will have all the features of String, including concatenation, slices and literals. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr