Re: [fpc-pascal]FPC Debugging (with SQLite)

2003-07-10 Thread Olivier =?windows-1252?q?Coursi=E8re
Hi all ! > > > How so ? > > James, he did *not* port this app to BeOS, some one else did. He > wrote a > Pascal interface to the version that that developer had ported to > BeOS > (you're following me right ;-). He therefore had no option but to use > the > version ported under BeOS, unless he port

Re: [fpc-pascal]Strange Segfault...

2003-07-10 Thread James Mills
On Thu, Jul 10, 2003 at 05:25:21PM +0100, Matt Emson wrote: > > > procedure replace(search: String; replace: String; var s: String); > > > procedure replace(const chars: array of char; replace: String; var s: > String); > > > > A string, or a array of char? > > James, this (as Marco put it) was ex

Re: [fpc-pascal]Strange Segfault...

2003-07-10 Thread Matt Emson
> > procedure replace(search: String; replace: String; var s: String); > > procedure replace(const chars: array of char; replace: String; var s: String); > > A string, or a array of char? James, this (as Marco put it) was exactly what I had in mind. The compiler will have to make a decision, and a

Re: [fpc-pascal]Strange Segfault...

2003-07-10 Thread James Mills
On Thu, Jul 10, 2003 at 05:26:31PM +0200, Marco van de Voort wrote: > > 15 replace(['0'..'9'], w, s); > > (gdb) s > > > > Program received signal SIGSEGV, Segmentation fault. > > $08066073 in main () at test4.pas:15 > > 15 replace(['0'..'9'], w, s); > > (gdb) > > Passin

Re: [fpc-pascal]Strange Segfault...

2003-07-10 Thread Marco van de Voort
> 15 replace(['0'..'9'], w, s); > (gdb) s > > Program received signal SIGSEGV, Segmentation fault. > $08066073 in main () at test4.pas:15 > 15 replace(['0'..'9'], w, s); > (gdb) Passing a set ( ['0'..'9'] ) to > procedure replace(search: String; replace: String; var s

Re: [fpc-pascal]Strange Segfault...

2003-07-10 Thread James Mills
On Thu, Jul 10, 2003 at 03:58:02PM +0100, Matt Emson wrote: > James, have you tried using non overloaded function calls?? ie. StrReplace > and ArrReplace etc. It should take a few minutes to implement, and may yield > the answer you're seeking. > > I still prefer the way Delphi overloads. At least

Re: [fpc-pascal]Limit on variable size?

2003-07-10 Thread Marco van de Voort
> What's the limit on variable size in FPC? In TP7 it is 65,536 > bytes, which is too small a limit for me. 2 or 4 Gb, but the OS may impose additional limits. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/f

Re: [fpc-pascal]Strange Segfault...

2003-07-10 Thread Matt Emson
James, have you tried using non overloaded function calls?? ie. StrReplace and ArrReplace etc. It should take a few minutes to implement, and may yield the answer you're seeking. I still prefer the way Delphi overloads. At least it explicitly implies it is doing so. Matt __

[fpc-pascal]Any ETA for FCL?

2003-07-10 Thread Chuck Roberts
Is there an estimated date when a stable FCL will be available for download? ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal]Limit on variable size?

2003-07-10 Thread Chuck Roberts
What's the limit on variable size in FPC? In TP7 it is 65,536 bytes, which is too small a limit for me. Thanks. Chuck ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal]When next version?

2003-07-10 Thread Chuck Roberts
I was wondering when the next version will be coming out for Dos. There seems to be a problem with the GetKeyEvent routine where it doesn't trap non-letter keys (like cursor keys). Chuck ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepa

[fpc-pascal]Strange Segfault...

2003-07-10 Thread James Mills
(gdb) break 14 Breakpoint 1 at $806603c: file test4.pas, line 14. (gdb) run Starting program: /home/pircsrv/src/test4 Enter a string: [EMAIL PROTECTED] Replace all digits with ? Breakpoint 1, main () at test4.pas:14 14 readLn(w); (gdb) n X 15 replace(['0'..'9'], w, s); (g