Datasheet

LongWordToStr
481
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub procedure LongWordToStr(dim input as longword, dim 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'