Re: Delphi: ASCII Codes


[ Related Articles and Replies ] [ DelphiLand Discussion Forum ]

Posted by webmaster Guido on September 11, 2002 at 18:58:21:

In Reply to: ASCII Codes posted by Marconi on September 11, 2002 at 17:59:41:

: How Can I get the ASC code from any CHAR.
: Using CHR(65) the result is 'A'.
: In Clipper the function ASC do that ASC('A') result 65. But, in Delphi (or Pascal) I don't know how.

----------------------

The Delphi function is: ORD.

For example, Ord('A') returns 65


Related Articles and Replies:


[ Related Articles and Replies ] [ DelphiLand Discussion Forum ]