home *** CD-ROM | disk | FTP | other *** search
-
- #log Integer to ascii conversion
-
- (*
- * return the string equivelant of an integer value
- * with leading zeroes for a minimum width of 2
- *
- *)
-
- function itoa (int: integer): anystring;
- var
- tstr: anystring;
-
- begin
- str(int, tstr);
-
- if length (tstr)= 1 then
- itoa := '0' + tstr
- else
- itoa := tstr;
- end;
-
-