Re: Internal error 8888 (was Re: [fpc-pascal]Strange Segfault...)

2003-07-14 Thread Alan Mead
--- [EMAIL PROTECTED] wrote: > > {$H+} > or > {$H-} > > definitely works. Sorry, by does nothing I meant that it does nothing to solve my problems with strings. Of course, the fundamental problem is that I don't fully understand anything but old-fashioned TP strings. [EMAIL PROTECTED] seq-baye

[fpc-pascal]Compiler bug?

2003-07-14 Thread Jesus Reyes
Hi, the following code results in a error. program compiler_bug_1; {$mode objfpc} var a,b: integer; c,d,e,f: boolean; function Ok: boolean; begin result := ( a = b ) and c = d and e = f; end; var r: boolean; begin a := 1; b := 2

Re: Internal error 8888 (was Re: [fpc-pascal]Strange Segfault...)

2003-07-14 Thread Jonas Maebe
On maandag, jul 14, 2003, at 20:31 Europe/Brussels, Alan Mead wrote: If there is, I cannot find it. {$H} does nothing and I re-read the portion of the docs that deal with the sting types again and I don't see what I'm doing wrong. There is a difference between longstrings and ansistrings. Ansistri

Re: Internal error 8888 (was Re: [fpc-pascal]Strange Segfault...)

2003-07-14 Thread Michael . VanCanneyt
On Mon, 14 Jul 2003, Alan Mead wrote: > > --- James Mills <[EMAIL PROTECTED]> wrote: > > On Mon, Jul 14, 2003 at 06:48:06AM -0700, Alan Mead wrote: > > > I'm running into this string problem as well. I'd like to use > > > strings longer than 255 but I get strange errors like: > > > > [...] > >

Internal error 8888 (was Re: [fpc-pascal]Strange Segfault...)

2003-07-14 Thread Alan Mead
--- James Mills <[EMAIL PROTECTED]> wrote: > On Mon, Jul 14, 2003 at 06:48:06AM -0700, Alan Mead wrote: > > I'm running into this string problem as well. I'd like to use > > strings longer than 255 but I get strange errors like: > > [...] > I believe there is a compiler switch. If there is, I

Re: [fpc-pascal]SQLite and NULL Strings...

2003-07-14 Thread James Mills
On Mon, Jul 14, 2003 at 03:06:44PM +0200, Michael Van Canneyt wrote: > > > On Mon, 14 Jul 2003, James Mills wrote: > > > On Mon, Jul 14, 2003 at 02:26:28PM +0200, Michael Van Canneyt wrote: > > > > > > > > > On Mon, 14 Jul 2003, James Mills wrote: > > > > > > > On Mon, Jul 14, 2003 at 09:59:17AM

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

2003-07-14 Thread James Mills
On Mon, Jul 14, 2003 at 06:48:06AM -0700, Alan Mead wrote: > I'm running into this string problem as well. I'd like to use > strings longer than 255 but I get strange errors like: > > [EMAIL PROTECTED] seq-bayes]$ fpc mcmc3pl.pas > Free Pascal Compiler version 1.0.6 [2002/05/23] for i386 > Copyri

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

2003-07-14 Thread Alan Mead
I'm running into this string problem as well. I'd like to use strings longer than 255 but I get strange errors like: [EMAIL PROTECTED] seq-bayes]$ fpc mcmc3pl.pas Free Pascal Compiler version 1.0.6 [2002/05/23] for i386 Copyright (c) 1993-2002 by Florian Klaempfl Target OS: Linux for i386 Compili

Re: [fpc-pascal]SQLite and NULL Strings...

2003-07-14 Thread James Mills
On Mon, Jul 14, 2003 at 03:39:36PM +0200, Michael Van Canneyt wrote: > > > On Mon, 14 Jul 2003, James Mills wrote: > > > On Mon, Jul 14, 2003 at 09:59:17AM +0200, Michael Van Canneyt wrote: > > > > > > > > > On Mon, 14 Jul 2003, James Mills wrote: > > > > > > > Hi, > > > > > > > > This is a very

Re: [fpc-pascal]SQLite and NULL Strings...

2003-07-14 Thread Michael Van Canneyt
On Mon, 14 Jul 2003, James Mills wrote: > On Mon, Jul 14, 2003 at 09:59:17AM +0200, Michael Van Canneyt wrote: > > > > > > On Mon, 14 Jul 2003, James Mills wrote: > > > > > Hi, > > > > > > This is a very weird behaviour I've found of either SQLite, or the Unit. > > > I'm not sure... I have been

Re: [fpc-pascal]SQLite and NULL Strings...

2003-07-14 Thread James Mills
On Mon, Jul 14, 2003 at 09:59:17AM +0200, Michael Van Canneyt wrote: > > > On Mon, 14 Jul 2003, James Mills wrote: > > > Hi, > > > > This is a very weird behaviour I've found of either SQLite, or the Unit. > > I'm not sure... I have been discussing this same problem on the SQLite > > mailing lis

Re: [fpc-pascal]SQLite and NULL Strings...

2003-07-14 Thread Michael Van Canneyt
On Mon, 14 Jul 2003, James Mills wrote: > On Mon, Jul 14, 2003 at 02:26:28PM +0200, Michael Van Canneyt wrote: > > > > > > On Mon, 14 Jul 2003, James Mills wrote: > > > > > On Mon, Jul 14, 2003 at 09:59:17AM +0200, Michael Van Canneyt wrote: > > > > > > > > > > > > On Mon, 14 Jul 2003, James Mil

Re: [fpc-pascal]Can't download from US mirror

2003-07-14 Thread Michael Van Canneyt
On Mon, 14 Jul 2003, Michael A. Hess wrote: > Chuck Roberts wrote: > > > When I try to download from the US mirror at > > http://www.us.freepascal.org/down-dos.html I get this error: "No > > such file or directory". I get the same error when I try to > > download the win32 version of 1.0.10. > >

Re: [fpc-pascal]SQLite and NULL Strings...

2003-07-14 Thread James Mills
On Mon, Jul 14, 2003 at 02:26:28PM +0200, Michael Van Canneyt wrote: > > > On Mon, 14 Jul 2003, James Mills wrote: > > > On Mon, Jul 14, 2003 at 09:59:17AM +0200, Michael Van Canneyt wrote: > > > > > > > > > On Mon, 14 Jul 2003, James Mills wrote: > > > > > > > Hi, > > > > > > > > This is a very

Re: [fpc-pascal]Can't download from US mirror

2003-07-14 Thread Michael A. Hess
Chuck Roberts wrote: When I try to download from the US mirror at http://www.us.freepascal.org/down-dos.html I get this error: "No such file or directory". I get the same error when I try to download the win32 version of 1.0.10. For some reason I have been unable to mirror the ftp site for several

Re: [fpc-pascal]v1.0.10 w32 release Eventlog resource not found

2003-07-14 Thread Michael Van Canneyt
On Sun, 13 Jul 2003, Ronald Fox wrote: > On Mon, 14 Jul 2003, Michael Van Canneyt wrote: > > > Is there a search path for resources or how should this be > > > properly fixed? > > > > The .res file should be put next to the installed .ppu file. > > To fix it, you can simply copy it there, but it

RE: [fpc-pascal]Can't download from US mirror

2003-07-14 Thread Lubomir . Cabla
They have on FTP old version 1.0.6 only ! CBL > -Original Message- > From: Chuck Roberts [mailto:[EMAIL PROTECTED] > Sent: Monday, July 14, 2003 2:01 PM > To: FPC-pascal > Subject: [fpc-pascal]Can't download from US mirror > > > When I try to download from the US mirror at > http://www.

Re: [fpc-pascal]SQLite and NULL Strings...

2003-07-14 Thread Michael Van Canneyt
On Mon, 14 Jul 2003, James Mills wrote: > On Mon, Jul 14, 2003 at 09:59:17AM +0200, Michael Van Canneyt wrote: > > > > > > On Mon, 14 Jul 2003, James Mills wrote: > > > > > Hi, > > > > > > This is a very weird behaviour I've found of either SQLite, or the Unit. > > > I'm not sure... I have been

Re: [fpc-pascal]Can't download from US mirror

2003-07-14 Thread Jonas Maebe
On maandag, jul 14, 2003, at 14:01 Europe/Brussels, Chuck Roberts wrote: When I try to download from the US mirror at http://www.us.freepascal.org/down-dos.html I get this error: "No such file or directory". I get the same error when I try to download the win32 version of 1.0.10. That's because un

[fpc-pascal]Can't download from US mirror

2003-07-14 Thread Chuck Roberts
When I try to download from the US mirror at http://www.us.freepascal.org/down-dos.html I get this error: "No such file or directory". I get the same error when I try to download the win32 version of 1.0.10. Chuck ___ fpc-pascal maillist - [EMAIL PRO

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

2003-07-14 Thread Matt Emson
> Yes and no. Why is it so bad to write a function in that way ? It could > of course be written two different ways, but I'd rather this way where I > modify the string passed to the function. > > Explain it to me :) (I'm the only one that works on this project of > ~30,000 LOC, so I don't see any

Re: [fpc-pascal]SQLite and NULL Strings...

2003-07-14 Thread James Mills
On Mon, Jul 14, 2003 at 09:59:17AM +0200, Michael Van Canneyt wrote: > > > On Mon, 14 Jul 2003, James Mills wrote: > > > Hi, > > > > This is a very weird behaviour I've found of either SQLite, or the Unit. > > I'm not sure... I have been discussing this same problem on the SQLite > > mailing lis

Re: [fpc-pascal]v1.0.10 w32 release Eventlog resource not found

2003-07-14 Thread Ronald Fox
On Mon, 14 Jul 2003, Michael Van Canneyt wrote: > > Is there a search path for resources or how should this be > > properly fixed? > > The .res file should be put next to the installed .ppu file. > To fix it, you can simply copy it there, but it is an error in the > distribution files. (and in the

Re: [fpc-pascal]v1.0.10 w32 release TRegistry.KeyExists functionbroken?

2003-07-14 Thread Michael Van Canneyt
On Sun, 13 Jul 2003, Ronald Fox wrote: > I'm very happy to see a working Registry unit for win32 in the > latest release. I can't get the KeyExists function to work as > I imagine it should, though. I would expect that KeyExists > should test for the presence of a relative or absolute key in t

Re: [fpc-pascal]v1.0.10 w32 release Eventlog resource not found

2003-07-14 Thread Michael Van Canneyt
On Sun, 13 Jul 2003, Ronald Fox wrote: > A significant enhancement found in the win32 release is the > EventLog unit. I had a little trouble with compiling the > example program tstelcmd.pp because the linker couldn't > find a required resource file. After finding the missing > file (fclel.res

Re: [fpc-pascal]SQLite and NULL Strings...

2003-07-14 Thread Michael Van Canneyt
On Mon, 14 Jul 2003, James Mills wrote: > Hi, > > This is a very weird behaviour I've found of either SQLite, or the Unit. > I'm not sure... I have been discussing this same problem on the SQLite > mailing list but without success there, so perhaps someone here might > know... > > I have attache