strutils.pas 750 B

12345678910111213141516171819202122232425262728293031323334353637
  1. {------------------------------------------------------------------------}
  2. {
  3. STRUTILS.PAS - string utilities
  4. Copyright (C) 1998 by Jacques Nomssi Nzali
  5. For conditions of distribution and use, see copyright notice in readme.txt
  6. }
  7. {------------------------------------------------------------------------}
  8. {$IFNDEF MSDOS}
  9. {$DEFINE SYSUTILS}
  10. {$ENDIF}
  11. Unit StrUtils;
  12. interface
  13. type
  14. str11 = string[11];
  15. Function IntToStr(value : LongInt) : str11;
  16. { Convert any integer type to a string }
  17. implementation
  18. {------------------------------------------------------------------------}
  19. Function IntToStr(value : LongInt) : str11;
  20. { Convert any integer type to a string }
  21. var
  22. s : str11;
  23. begin
  24. Str(value:0, s);
  25. IntToStr := S;
  26. end;
  27. end.