comp.lang.ada
 help / color / mirror / Atom feed
From: david.c.hoos.sr@ada95.com
To: chuu@club-internet.fr
Subject: Re: 3 questions from a beginner
Date: 1998/12/07
Date: 1998-12-07T00:00:00+00:00	[thread overview]
Message-ID: <74gh8t$c51$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 74cdt6$ni3$1@front4.grolier.fr

In article <74cdt6$ni3$1@front4.grolier.fr>,
  "Pierre" <chuu@club-internet.fr> wrote:
> Hello,
>
> I want to know 3 things :
>
> 1) how we use the composants from the type RECORD in I-O. Give me an example
> please)
>

In my earlier reply, I gave an example of Input, but not Output from the
record type I furnished in the example.  Here's an Output example:

Ada.TexT_IO.Put_Line
  ("Name   :" &
    My_Object.Name (My_Object.Name'First .. My_Object.Name_Last));
Ada.TexT_IO.Put_Line
  ("Address:" &
    My_Object.Address (My_Object.Address'First .. My_Object.Address_Last));

> 2) how we compare 2 strings letter by letter ?
>
> 3) how we use the function TO_UPPER for only the first letter of a string.
>
> Thank you in advance
>
> Pierre
>
>

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




      parent reply	other threads:[~1998-12-07  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-06  0:00 3 questions from a beginner Pierre
1998-12-06  0:00 ` Tom Moran
1998-12-06  0:00   ` Pierre
1998-12-07  0:00     ` Matthew Heaney
1998-12-07  0:00 ` david.c.hoos.sr
1998-12-07  0:00 ` david.c.hoos.sr [this message]
replies disabled

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