Re: [fpc-pascal] Locate method in TBuFDataset

2010-10-20 Thread Michael Van Canneyt
On Wed, 20 Oct 2010, John wrote: Hi all, Does anyone know if TBuFDataset.Locate honours the TLocateOptions parameter passed to it ?  It certainly doesn't *seem* to work. I am actually using a TSQLQuery against an SQLite3 database, Laz 0.9.28.2, fpc 2.2.4, Win32.  I should say that I am

Re: [fpc-pascal] Can variables be declared within a block?

2010-10-20 Thread Reimar Grabowski
On Tue, 19 Oct 2010 21:18:03 +0100 Vannus van...@gmail.com wrote: your example is at the start of a for loop block, which is much the same as having it at the start of a procedure block So much the same that you can do it in pascal? What about variables declared inside this for loop or inside

Re: [fpc-pascal] Building FPC with debug information

2010-10-20 Thread Brian Winfrey
make OPT=-O- DEBUG=1 all When I ran this I see that both -dDEBUG and -dRELEASE are passed on the fpc command line. Is that correct? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Building FPC with debug information

2010-10-20 Thread Andrew Brunner
Yes. It's what I saw. I was still able to trace database components line by line using Lazarus and GDB though. On Wed, Oct 20, 2010 at 12:54 PM, Brian Winfrey bwcod...@gmail.com wrote: make OPT=-O- DEBUG=1 all When I ran this I see that both -dDEBUG and -dRELEASE are passed on the fpc

Re: [fpc-pascal] Building FPC with debug information

2010-10-20 Thread Jonas Maebe
On 20 Oct 2010, at 19:54, Brian Winfrey wrote: make OPT=-O- DEBUG=1 all When I ran this I see that both -dDEBUG and -dRELEASE are passed on the fpc command line. Is that correct? Yes. Jonas ___ fpc-pascal maillist -

[fpc-pascal] Real length of WideString

2010-10-20 Thread Zaher Dirkey
How to get the real length of WideString variable. Thanks in advance. -- Zaher Dirkey ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: Real length of WideString

2010-10-20 Thread Zaher Dirkey
On Thu, Oct 21, 2010 at 1:41 AM, Zaher Dirkey parm...@gmail.com wrote: How to get the real length of WideString variable. Hmm, I think i found my problem but not understand it, i used Lazarus as editor to write the code var ws: widestring; begin ws:= 'زاهر'; Label3.Caption :=