Re: ascii codes
On 21 Mar 1997 14:16:30 GMT, "Warren La Fleur" <cen...@global.co.za> wrote:
>Can some one thell me what is the ascii code for alt d
I'm afraid that there is no such animal. The actual number returned by pressing
Alt+d on an IBM style PC keyboard is OEM specific and depends on the program
you are using. Correct me if I'm wrong, but I believe the Mac doesn't even have
an Alt key. When I program, I have to specifically check the language's
information in order to find out what will be returned on pressing non-ASCII
key-combinations. For example, Foxpro for windows uses 288 to represent Alt+d,
while Visual Foxpro (brought to us by the selfsame Microsoft) returns 32 from
the inkey() function if I press Alt+d (same as a space but distinguishable
because Alt+<Space> returns 57). I don't remember what Clipper returned, and
C++ pretty much depends on the Windows API.
I know this is not really helping you a whole heck of a lot, but I just figured
you'd better know what you're up against if you intend to insert non-ASCII
codes into what purports to be an ASCII document.
The ASCII codes run from 0 to 127, and represent keypresses that can be handled
by any ASCII compatible system. They represent all the "normal" printable keys,
the escape key, and the letter keys in combination with the control key to
allow for cursor movement and the infernal beep. The Alt key is simply not part
of the ASCII standard.
Alan
My real address is alanp @ netcom.ca (without spaces)
but I'm sick of email spam.
Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,591da8fb075faf3b X-Google-Attributes: gidf996b,public From: spa...@mymail.com Subject: Re: ascii codes Date: 1997/03/23 Message-ID: <333...@nntp.netcruiser>#1/1 X-Deja-AN: 227640004 References: <01bc35de$b71bde40$52d5a7a8@warren> Organization: Netcom Canada X-NETCOM-Date: Sat Mar 22 11:38:07 PM EST 1997 Reply-To: spa...@mymail.com Newsgroups: alt.ascii-art
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
About this message.
This message was posted publicly to the newsgroup
alt.ascii-art
in 1997 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked.
The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can.
Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.
Report this message
Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.