comp.lang.ada
 help / color / mirror / Atom feed
From: John_Lin@paramount.com (Johnny)
Subject: Re: Ord Function HELP Please HELP HELP HELP
Date: 1998/12/14
Date: 1998-12-14T00:00:00+00:00	[thread overview]
Message-ID: <3679891d.19665290@news.smartlink.net> (raw)
In-Reply-To: 36748403.109022624@news.pacbell.net

On Mon, 14 Dec 1998 03:21:52 GMT, tmoran@bix.com (Tom Moran) wrote:

>Do you mean integer'image(5) 
>which gives " 5"? or do you mean "fifth"?


Hi, Thank You for your msg,  
I'm a new ada coder, and I have run into a small problem, I can't find
a function that will return the ASCII converted number for any key
pressed on the keyboard,   example:  user hits the backspace key, I
would like to be able to catch the key however, without a function to
convert the ASCII representation to #8, we would have no idea that he
pressed the backspace.  In VB it's the "CHR" function in Pascal it's
the "Ord" function, ADA95 does not list this function anywhere that I
can find, I am hoping it is built into the compiler, however, I think
I may need to dload a Package.

Any Help is much appreciated,

Thnx ,Johnny




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

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-14  0:00 Ord Function HELP Please HELP HELP HELP Johnny
1998-12-14  0:00 ` Tom Moran
1998-12-14  0:00   ` Johnny [this message]
1998-12-14  0:00     ` dennison
1998-12-14  0:00       ` dennison
1998-12-14  0:00     ` Matthew Heaney
1998-12-14  0:00       ` Johnny
1998-12-14  0:00 ` Matthew Heaney
replies disabled

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