Re: [fpc-pascal] Crash at startup with sqlite project

2008-04-02 Thread Luiz Americo Pereira Camara
Felipe Monteiro de Carvalho wrote: On Wed, Apr 2, 2008 at 7:46 PM, Luiz Americo Pereira Camara <[EMAIL PROTECTED]> wrote: See http://www.geocities.com/camara_luiz/docs/dataset/dataset-tutorial-01.html to know how to setup a db file dinamically Thanks, that was indeed true, and the fil

Re: [fpc-pascal] Crash at startup with sqlite project

2008-04-02 Thread Felipe Monteiro de Carvalho
On Wed, Apr 2, 2008 at 7:46 PM, Luiz Americo Pereira Camara <[EMAIL PROTECTED]> wrote: > See > http://www.geocities.com/camara_luiz/docs/dataset/dataset-tutorial-01.html > to know how to setup a db file dinamically Thanks, that was indeed true, and the filename was hardcoded, but I fixed it and t

Re: [fpc-pascal] Crash at startup with sqlite project

2008-04-02 Thread Luiz Americo Pereira Camara
Felipe Monteiro de Carvalho wrote: Hello, I have a simple project with sqlite 3. It's running on Windows with FPC 2.2.0 and svn Lazarus, and my DLL is version is 3_5_7 downloaded from official sqlite website. It crashes at startup at sqlite3ds.pas at: The strange part is that Lazarus run

Re: [fpc-pascal] Re: backport 2.3.1 fix to 2.2.x fixes branch?

2008-04-02 Thread Jonas Maebe
On 02 Apr 2008, at 14:23, Seth Grover wrote: If the fix is not too invasive (i.e., its effects are generally overseeable), and if it has been in 2.3.1 for a while and no bad effects are reported, then it will be merged after a while. These particular fixes will be merged at some time in the fut

Re: [fpc-pascal] Crash at startup with sqlite project

2008-04-02 Thread Denis Golovan
On Wed, Apr 02, 2008 at 08:31:01AM -0300, Felipe Monteiro de Carvalho wrote: > Hello, > > I have a simple project with sqlite 3. It's running on Windows with > FPC 2.2.0 and svn Lazarus, and my DLL is version is 3_5_7 downloaded > from official sqlite website. > > It crashes at startup at sqlite3

[fpc-pascal] Re: backport 2.3.1 fix to 2.2.x fixes branch?

2008-04-02 Thread Seth Grover
> If the fix is not too invasive (i.e., its effects are generally > overseeable), and if it has been in 2.3.1 for a while and no bad > effects are reported, then it will be merged after a while. These > particular fixes will be merged at some time in the future, but I > don't know when yet exa

[fpc-pascal] Crash at startup with sqlite project

2008-04-02 Thread Felipe Monteiro de Carvalho
Hello, I have a simple project with sqlite 3. It's running on Windows with FPC 2.2.0 and svn Lazarus, and my DLL is version is 3_5_7 downloaded from official sqlite website. It crashes at startup at sqlite3ds.pas at: procedure TSqlite3Dataset.InternalInitFieldDefs; sqlite3_step(vm); //

Re: [fpc-pascal] backport 2.3.1 fix to 2.2.x fixes branch?

2008-04-02 Thread Jonas Maebe
On 02 Apr 2008, at 01:22, Seth Grover wrote: I've been tracking an issue for a while: http://bugs.freepascal.org/view.php?id=8730 http://bugs.freepascal.org/view.php?id=9089 and am delighted to see it's been marked as fixed in 2.3.1. I grabbed the fixes_2_2 branch in hopes the change had been b

Re: [fpc-pascal] Read() for multiple variables.

2008-04-02 Thread [EMAIL PROTECTED]
zaher dirkey wrote: how to use read() procedure to read multiple variable one of them is string type To read a string and then number it is possible only if the length of a line is precisely known and fixed. I read out one string, and then I find in it numbers. Here an example for a finding o

[fpc-pascal] Read() for multiple variables.

2008-04-02 Thread zaher dirkey
I am old pascal programmer, but now i teaching pascal and need to understand the old input program readtest; var x:integer; y:integer; s:string; begin read(x, y, s); writeln(); writeln(x,y,'"',s,'"'); readln; end. - 10 50 Hello how to use read() procedure to read multipl