Mikroelektronika MIKROE-350 Fiche De Données

Page de 526
LongWordToStr
481
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub procedure LongWordToStr(dim input as longworddim byref out-
put 
as string[9])
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
dim input as longint
txt 
as string[9]
'...
input = 12345678
IntToStr(input, txt)    ' txt is '  12345678'