Topic Path: Symbol Reference > Functions > IsASCII Function (Byte)
ContentsIndexHome
PreviousUpNext
IsASCII Function

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

File
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

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.