comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: output something on the right side
Date: 2000/10/21
Date: 2000-10-21T00:00:00+00:00	[thread overview]
Message-ID: <8ss997$6je$1@nnrp1.deja.com> (raw)
In-Reply-To: u3dhsu26i.fsf@wanadoo.fr

In article <u3dhsu26i.fsf@wanadoo.fr>,
  Pascal Obry <p.obry@wanadoo.fr> wrote:
>
>    Put ("                                                   "
& s);
>
> :)
>
> Pascal.

Pascal had a smiley there, but in fact his answer is reasonable
if you rewrite it slightly as

   Put (((80-s'Length)*' ') & s);

Not enough people are familiar with the useful routines
in the Ada.Strings.xxx packages :-)


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~2000-10-21  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-18  0:00 output something on the right side Paul
2000-10-18  0:00 ` tmoran
2000-10-19  0:00 ` Pascal Obry
2000-10-21  0:00   ` Robert Dewar [this message]
2000-10-21  0:00     ` DuckE
2000-10-21  0:00       ` Pat Rogers
2000-10-22  0:00         ` DuckE
replies disabled

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