Internet Direct (Indy)
Home
PreviousUpNext
IsASCII Function

Determines if the byte value can be represented using characters from the US-ASCII character set.

Pascal
function IsASCII(
    const AByte: Byte
): Boolean; overload;
Parameters 
Description 
AByte 
Value to examine. 

Boolean - True when the byte <= 7F Hex.

IsASCII is an overloaded Boolean function used to determine if the Byte value in AByte can be represented using characters from the US-ASCII character set. 

IsASCII returns True when AByte is less than or equal to the hex value 7F (Decimal 127). 

Use the overloaded IsASCII function to determine if TIdBytes values can be represented in the US-ASCII character set.

IsASCII

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.