[fpc-pascal]CardinalToStr

Peter Vreman peter at freepascal.org
Mon Sep 15 20:20:45 CEST 2003


At 21:51 14-9-2003, you wrote:
>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.

Cardinal/Int64 constants only work in 1.1


Peter





More information about the fpc-pascal mailing list