comp.lang.ada
 help / color / mirror / Atom feed
From: "Matthew Baulch" <matt@greenroom.com.au>
Subject: Re: Ada facility for determining dimensions (height/width) for display/print character string?
Date: Wed, 06 Nov 2002 19:06:08 +1100
Date: 2002-11-06T08:06:32+00:00	[thread overview]
Message-ID: <pan.2002.11.06.08.06.07.630714@greenroom.com.au> (raw)
In-Reply-To: mailman.1036120741.28142.comp.lang.ada@ada.eu.org

On Thu, 31 Oct 2002 22:17:52 +0000, RussJohnson@frontiernet.net wrote:

> Does Ada have a facility for determining the dimensions (height and width)
> that it will take to display/print a given string of characters?
> 
> - Russ Johnson
> 
>    JohnsonRuss@NetZero.com
>    Terre Hill, PA

If you are talking about width/height in terms of columns/rows in test
mode then you can find out these figures by dividing the number of chars
by the width of your string and finding the roof of that number. In the
case that C.R's are important then you will have to account for these
accordingly.



  parent reply	other threads:[~2002-11-06  8:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-01  3:17 Ada facility for determining dimensions (height/width) for display/print character string? RussJohnson@frontiernet.net
2002-11-01  2:37 ` Larry Kilgallen
2002-11-05 11:21 ` Georg Bauhaus
2002-11-12 20:54   ` Russell L Johnson
2002-11-06  8:06 ` Matthew Baulch [this message]
     [not found] <mailman.1035925742.9365.comp.lang.ada@ada.eu.org>
2002-10-29 23:48 ` tmoran
2002-10-30 10:59   ` Larry Kilgallen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox