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,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a28b054fe35baca1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-30 03:59:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!ngpeer.news.aol.com!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Ada facility for determining dimensions (height/width) for display/print character string? Date: 30 Oct 2002 04:59:41 -0600 Organization: LJK Software Message-ID: References: NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1035979132 17968 192.135.80.34 (30 Oct 2002 11:58:52 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Wed, 30 Oct 2002 11:58:52 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:30224 Date: 2002-10-30T04:59:41-06:00 List-Id: In article , tmoran@acm.org writes: >>Does Ada have a facility for determining the dimensions (height and = >>width) that it will take to display/print a given string of characters? > Yes. When an Ada program is controlling a skywriter, characters are > 100 meters square. But don't think your program will automatically port to the new generation of 200 meters square skywriters, as you may get an arithmetic overflow and if your program does not handle the exception correctly you will spill skywriter ink all over the sports stadium :-)