[fpc-pascal]QWord vs. function Abs

2003-08-20 Thread Lubomir . Cabla
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

Re: [fpc-pascal]QWord vs. function Abs

2003-08-20 Thread James Mills
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

[fpc-pascal]Debuggin

2003-08-20 Thread James Mills
Hi, 1) Is there anyway of finding out the cooresponding source line when a program crashes and only outputs the following: An unhandled exception occurred at 0x080A33B1 : List index exceeds bounds (-1) 0x080A33B1 2) With compile modes: -gg -gl Aren't line info and tracebacks suppose to be s

Re: [fpc-pascal]QWord vs. function Abs

2003-08-20 Thread Peter Vreman
> 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

Re: [fpc-pascal]QWord vs. function Abs

2003-08-20 Thread Anton Tichawa
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.

Re: [fpc-pascal]QWord vs. function Abs

2003-08-20 Thread Peter Vreman
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. > > > >

[fpc-pascal]linux or libc ?

2003-08-20 Thread Jeff Pohlmeyer
There seems to be some minor conflicts between the linux unit and the new libc unit on 1.0.10 They both seem to get the job done, but putting them both in the same uses clause could make me crazy. :-o Any suggestions/opinions as to which one is best? __ Do you Y

Re: [fpc-pascal]linux or libc ?

2003-08-20 Thread Marco van de Voort
> There seems to be some minor conflicts between > the linux unit and the new libc unit on 1.0.10 > > They both seem to get the job done, but putting them > both in the same uses clause could make me crazy. :-o > > Any suggestions/opinions as to which one is best? linux is the FPC unit for Unix.

Re: [fpc-pascal]QWord vs. function Abs

2003-08-20 Thread Anton Tichawa
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