User manual
mikroPascal PRO for dsPIC30/33 and PIC24
MikroElektronika
662
LongintToStr
Prototype
procedure LongintToStr(input : longint; var output : array[11] of char);
Description Converts input longint number to a string. The output string is right justied and the remaining positions
on the left (if any) are lled with blanks.
Parameters - input: longint number to be converted
- output: destination string
Returns Nothing.
Requires Nothing.
Example
var input : longint;
txt : array[11] of char;
//...
begin
input := -12345678;
IntToStr(input, txt); // txt is ‘ -12345678’
Notes None.
LongWordToStr
Prototype
procedure LongWordToStr(input : dword; var output : array[10] of char);
Description Converts input double word number to a string. The output string is right justied and the remaining
positions on the left (if any) are lled with blanks.
Parameters - input: double word number to be converted
- output: destination string
Returns Nothing.
Requires Nothing.
Example
var input : longint;
txt : array[10] of char;
//...
begin
input := 12345678;
IntToStr(input, txt); // txt is ‘ 12345678’
Notes None.