[fpc-pascal]Behavior of system.New procedure

2004-07-01 Thread Luiz Américo
If someone can help me with this... Take the following example: type TRec = record Apointer:Pointer; AInt:Integer; end; PRec = ^TRec; var Arec:PRec; Return:Boolean; begin New(ARec); Return:=ARec^.APointer = nil; (Always True ?) Return:=ARec^.Aint = 0; (Always True ?) end. My question

[fpc-pascal]Default calling convention

2004-07-01 Thread Marcel Martin
Marco van de Voort wrote: > Marcel Martin wrote: > > > > I noticed that, with FPC 1.9.4, the (default) calling convention > > "register" depends on the fact that a routine is or is not embedded > > in an other routine. > > > > With "proc(A,B,C: Longint);", if "proc" is not embedded then > > eax = A

[fpc-pascal]Bug in GotoXY

2004-07-01 Thread Jose Pascual
Hi, I have found some bug in gotoxy using fpc 1.9.5 for linux (i386). If there is no change in X between two consecutive gotoXY, the second gotoXY won't change the cursor if X has no change. (perhaps the bug is also in Y) I mean, GotoXY(1,1); // first GotoXY(1,10); // second. in this case cur

RE: [fpc-pascal] Cooperative Mult Tasker under DOS with FP

2004-07-01 Thread Rainer Hantsch
Hi! You should give White-Dwarf-Linux a try. It is really for small systems, i386 based. http://www.blast.com/wd_about.html I only wonder - it was free, now it appears to have become commercial? Anyway, I still have free versions (from when it was free) as CD-Images... mfg Ing. Rainer Hants