Internet Direct (Indy)
Home
PreviousUpNext
CardinalToFourChar Function

Converts a Cardinal value to its representation as a four character string.

Pascal
function CardinalToFourChar(
    ACardinal: Cardinal
): string;
Parameters 
Description 
ACardinal 
Cardinal value to be converted. 

String - Four characters representing the cardinal value.

CardinalToFourChar is a String function used to convert the Cardinal value in ACardinal to its representation as a four character string. CardinalToFourChar calls ToBytes and BytesToString to convert the value in ACardinal.

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.