comp.lang.ada
 help / color / mirror / Atom feed
* Re: return key
       [not found] <20000516143916.18417.qmail@web2906.mail.yahoo.com>
@ 2000-05-17  0:00 ` Ken Garlington
  0 siblings, 0 replies; only message in thread
From: Ken Garlington @ 2000-05-17  0:00 UTC (permalink / raw)


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






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-05-17  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20000516143916.18417.qmail@web2906.mail.yahoo.com>
2000-05-17  0:00 ` return key Ken Garlington

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