User manual
mikroPascal PRO for PIC32
MikroElektronika
575
LongToStr
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: signed long integer 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: unsigned long integer 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.