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=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.ecp.fr!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Use of bounded strings? (Was: array of string) Date: Tue, 07 Oct 2014 18:06:59 +0200 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: <87r3yjyicc.fsf_-_@adaheads.sparre-andersen.dk> References: <3ffbdc6a-e767-4de1-922f-c9c1ec748f4d@googlegroups.com> <570672e5-a8ba-407c-a04a-9bf4cc723708@googlegroups.com> NNTP-Posting-Host: 109.59.12.12.mobile.3.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: loke.gir.dk 1412698021 5644 109.59.12.12 (7 Oct 2014 16:07:01 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Tue, 7 Oct 2014 16:07:01 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:eQjktIytlCBtRuqNye2pOXOxjQ0= Xref: number.nntp.giganews.com comp.lang.ada:189485 Date: 2014-10-07T18:06:59+02:00 List-Id: Bruce wrote: > You could also create an array of Bounded_Strings. [...] Although I agree that Bounded_Strings is a possible solution for this problem, I find that it is extremely rare (only in 0.3% of all the source files I checked, and only in 2.7% of the string using source files) that I end up using it. How often do you use Bounded_Strings? Greetings, Jacob -- "Nobody writes jokes in base 13." Douglas Adams