Board index » delphi » ASCII Tables

ASCII Tables

Could someone post or send me a table of ascii values.  I have one in my university text but it
is not very good and it has none of the extended chars.
Thanx
Stan...@isn.net
or Stan...@upei.ca
 

Re:ASCII Tables


In article <315607D7.5...@isn.net>, stan...@isn.net says...
Quote

>Could someone post or send me a table of ascii values.  I have one in

my university text but it
Quote
>is not very good and it has none of the extended chars.
>Thanx
>Stan...@isn.net
>or Stan...@upei.ca

Get hold of a copy of any DOS user guide, for a selection of tables.
Quote
>> Martin

Re:ASCII Tables


On Sun, 24 Mar 1996 22:41:27 -0400, Stephen Tanton <stan...@isn.net>
wrote:

Quote
>Could someone post or send me a table of ascii values.  I have one in my university text but it
>is not very good and it has none of the extended chars.

It's easier to write a program to produce such a list than it is to send
one...

Program AsciiTable;

VAR c: byte;

BEGIN
     Writeln('Num':3,'Char':7);
     for c:=0 to 255 do
         Writeln(c:3,Chr(c):5);
END.
--
Robert B. Clark <rcl...@iquest.net>
"Be wary of strong spirits.  It can make you shoot at tax collectors...
and miss." --RAH

Re:ASCII Tables


In article <4jcjk0$...@is-news.gov.ab.ca>,
   Martin.Irel...@gov.ab.ca (Martin Ireland) wrote:

Quote
>In article <315607D7.5...@isn.net>, stan...@isn.net says...

>>Could someone post or send me a table of ascii values.  I have one in
>my university text but it
>>is not very good and it has none of the extended chars.
>>Thanx
>>Stan...@isn.net
>>or Stan...@upei.ca

>Get hold of a copy of any DOS user guide, for a selection of tables.
>>> Martin

There are two fuctions that could help you out.  One is Ord(x), which returns
the ASCII value of a character (x) entered.  The Other is Chr (x) which
returns the character of the ASCII Number (x) entered.  

Simply make a for next loop and count from 1 to 256 (? I believe that's the
last ASCII value before they start over) and you can print out all the codes.

b...@agate.net
http://www.agate.net/~borg/

Other Threads