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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,45b47ecb995e7a3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-13 11:48:33 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!chcgil2-snf1.gtei.net!news.gtei.net!news.binc.net!kilgallen From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Ada Idioms Progress Preview Date: 13 Aug 2001 13:48:29 -0500 Organization: LJK Software Message-ID: References: <3B6F1B2F.4FC3C833@gsde.hou.us.ray.com> <5ee5b646.0108071819.6e84e33d@posting.google.com> <3_Xc7.45$NM5.84779@news.pacbell.net> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 997727954 23942 192.135.80.34 (13 Aug 2001 18:39:14 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Mon, 13 Aug 2001 18:39:14 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:11862 Date: 2001-08-13T13:48:29-05:00 List-Id: In article , Ole-Hjalmar Kristensen writes: > One thing which can be said in favour of having a terminator character > is that it frees you from having to store the length explicitly. The > length of a string is usually different from the size of the array > used to store the string. That works until the day that all you need to know is the length. At that point you must walk the string if you are terminator-based. An example would be a search for all the "long" strings.