In a file \pp\source\rtl\inc\systemh.inc dated 26.10.2002 i found (only)
these declarations
about ABS function:
Function abs(l:Longint):Longint;
Function sqr(l:Longint):Longint;
Function odd(l:Longint):Boolean;
Function odd(l:Cardinal):Boolean;
{$ifdef int64}
Function odd(l:Int64):Boolean;
Functio
On Wednesday 20 August 2003 20:17, you wrote:
> At 18:24 20-8-2003, you wrote:
> >On Wednesday 20 August 2003 16:56, you wrote:
> > > > > Hallo,
> > > > > i'm newbie and maybe making something wrong.
> > > > >
> > > > > Small example for go32v2:
> > > > >
> > > > > var q1,q2:qword;
> > > > > begin
At 18:24 20-8-2003, you wrote:
On Wednesday 20 August 2003 16:56, you 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.
> >
> >
On Wednesday 20 August 2003 16:56, you 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.
> 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 do
On Wed, Aug 20, 2003 at 02:34:23PM +0200, [EMAIL PROTECTED] 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
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.
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