[fpc-pascal]CardinalToStr

Vincent Snijders vslist at zonnet.nl
Sun Sep 14 21:51:58 CEST 2003


Hi,

Has FPC functions for the cardinal type like IntToStr?
The snippet below produces quiet understandably -2147483647 instead of
2147483649.

program hasCardinalToStr; 
const
  c2 = Cardinal($80000001);
begin
  writeln(IntToStr(c2));
end.

Regards,
Vincent.




More information about the fpc-pascal mailing list