[fpc-pascal]QWord vs. function Abs
James Mills
prologic at daisy.ods.org
Wed Aug 20 16:03:40 CEST 2003
On Wed, Aug 20, 2003 at 02:34:23PM +0200, Lubomir.Cabla at cssz.cz wrote:
> Hallo,
> i'm newbie and maybe making something wrong.
>
> Small example for go32v2:
>
> var q1,q2:qword;
> begin
> q1:=10;
> q2:=20;
> writeln(Abs(q1-q2));
> end.
I get runtime 215 with FPC 1.0.6 ...
This probably means that FPC cannot support qwords in the abs function
even though the documentation says "Any numerical type".
Not sure though :)
cheers
James
>
> With FPC compiler 1.0.10/IDE 0.9.2 i got this error message:
>
> 'Can't determine which overloaded function to call'
>
> Any idea ?
>
> With type INT64,Word it is o.k.
> I think this version 1.0.x doesn't full support type QWord.
>
> I want try the new version 1.1.x, but under Windows NT/SP6a (czech version)
> is not possible to start \pp\bin\go32v2\fp.exe.
>
> Lubom?r ?abla
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
--
-
-Zero Defect Software Engineers Group - ZDSEG
-
-You need only two tools. WD-40 and duct tape.
-If it doesn't move and it should, use WD-40.
-If it moves and shouldn't, use the tape.
More information about the fpc-pascal
mailing list