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,992e84f408e149d8 X-Google-Attributes: gid103376,public From: tmoran@bix.com (Tom Moran) Subject: Re: How to initiate part of a string? Date: 1998/08/26 Message-ID: <35e45c89.12901035@SantaClara01.news.InterNex.Net>#1/1 X-Deja-AN: 385017918 References: <35E171AB.75CD@ddre.dk> <35e2dc46.1973509@SantaClara01.news.InterNex.Net> <35e3675e.37587430@SantaClara01.news.InterNex.Net> Organization: InterNex Information Services 1-800-595-3333 Newsgroups: comp.lang.ada Date: 1998-08-26T00:00:00+00:00 List-Id: > Txt : String(1 .. 100) := (1 .. 27=>' ') & "abcd" & (32 .. 100=>' '); vs > Txt : String(1 .. 100) := (1 .. 27=>' ') & "abcd" & (1 .. 69=>' '); The former has the advantage of less error-prone arithmetic required of the writer or readers of the code.