Topic Path: Symbol Reference > Functions > WordToStr Function
WordToStr Function

Converts a Word data type to its string representation.

function WordToStr(
    const Value: Word
): String;
Word data type to convert to a string. 

String - String representation for the Word data type.

WordToStr is a String function used to convert the Word data type in Value to its string representation. 


For the .Net platform, WordToStr calls ToBytes and BytesToString to convert the bytes in Value. 


For platforms supporting the Borland RTL, WordToStr sets the length of the return value using the SizeOf function and the content of the Value argument. WordToStr call the Move procedure in SysUtils.pas to perform the copy operation that stores the content for the return value.

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