Mikroelektronika MIKROE-742 데이터 시트

다운로드
페이지 532
LongWordToStr
489
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
procedure LongWordToStr(input : dword; var output : array[10] of
char);
Returns
Nothing.
Description
Converts input double word number to a string. The output string is right justi-
fied and the remaining positions on the left (if any) are filled with blanks.
Parameters : 
input
: double word number to be converted 
output
: destination string 
Requires
Nothing.
Example
var input : longint; 
txt : 
array[10] of char;
//...
begin
input := 12345678;
IntToStr(input, txt);    // txt is '  12345678'