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
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
> > 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
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
> 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
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
> 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
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
__
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
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
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
(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
12 matches
Mail list logo