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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3869f0598191b11d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local1.nntp.dca.giganews.com!nntp.gbronline.com!news.gbronline.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 19 Jul 2004 15:29:49 -0500 Date: Mon, 19 Jul 2004 15:29:13 -0500 From: Wes Groleau Reply-To: groleau+news@freeshell.org Organization: Ain't no organization here! User-Agent: Mozilla Thunderbird 0.6 (Macintosh/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Porting ADA source References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 69.9.86.76 X-Trace: sv3-QBTYMcxWJ3YvY0RIlEPg7z/Fvv2vZHxxV/mkzjOh5ND5eCILflV39JI6MoErKK+vvEbHrB4gasfhFF5!oeuJ6O8buyx83EwgGRR36ZyXPQTor53deIEtYCBh1TtmW4yy7bW9//pFIGmLqdwqEM2trxJG35q8 X-Complaints-To: abuse@gbronline.com X-DMCA-Complaints-To: abuse@gbronline.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: g2news1.google.com comp.lang.ada:2248 Date: 2004-07-19T15:29:13-05:00 List-Id: Larry Kilgallen wrote: > What is the advantage of forbidding "string" ? None that I know of. But the powers that be when the project started decreed that all predefined types are non-portable, therefore all types must be subtyped or derived from types created AND rep-spec'd for the project. Much of Standard and System was re-implemented to support these types. Character was the only predefined type exempt (why was that different?), so arrays of Character with "portable" index types were used instead of String. Assigning string literals to these arrays was either humorous or nerve-wracking, depending on how much time pressure you were under. Interestingly, string literals and character literals were one of the Ada 95 conversion headaches. :-) -- Wes Groleau http://groleau.freeshell.org/