comp.lang.ada
 help / color / mirror / Atom feed
From: "Ken Garlington" <Ken.Garlington@computer.org>
Subject: Re: return key
Date: 2000/05/17
Date: 2000-05-17T00:00:00+00:00	[thread overview]
Message-ID: <f0mU4.13920$wb7.1292879@news.flash.net> (raw)
In-Reply-To: 20000516143916.18417.qmail@web2906.mail.yahoo.com

with Ada.Text_IO;
procedure Test_Return is
begin
    Ada.Text_IO.Put_Line("The value of ASCII.CR is " &
Integer'Image(Character'Pos(ASCII.CR)));
end Test_Return;

...

The value of ASCII.CR is  13

I'm guessing that your problem is more complicated than knowing the answer
to your question (e.g. "How come I can't read the 'return' key using
Get_Line?").

-----

"Chopy" <chopy@rocketmail.com> wrote in message
news:20000516143916.18417.qmail@web2906.mail.yahoo.com...
Hi, what is the function that translate the character "return" in ascii or
integer ?
I have tried value 10 and value 13 ...

thanks
Chopy






           reply	other threads:[~2000-05-17  0:00 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20000516143916.18417.qmail@web2906.mail.yahoo.com>]
replies disabled

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