Logo

Programming-Idioms

  • PHP
  • Python
  • Scheme
  • Pascal
Str(i,s);

No dependecies on any library.
Should work in all Pascal dialects.
uses SysUtils;
var
  _s: String;
  _i: Integer;
begin
  _s := IntToStr(_i);
end.
$s = "{$i}";
$s = (string)$i;
$s = "$i";
$s = strval($i);
s = str(i)
(define s (number->string i))
S : String := Integer'Image (I);

New implementation...