[fpc-pascal] Re: pchar with more than 255 characters

2011-11-12 Thread leledumbo
It works when {$LONGSTRINGS ON} or {$H+} directive exists. I think the compiler treats functions receiving array of char (or pointer to it) as ShortString when none of the directives above exist. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/pchar-with-more-tha

[fpc-pascal] pchar with more than 255 characters

2011-11-12 Thread Rainer Stratmann
procedure getchars( p : pchar ); var l : longint; begin l := length( p ); end; If calling getchars with chars longer than 255 l is always 255. For example: getchars( '12345 ... 255256257258' + '1234567213939873987' + ... ... '12345672

[fpc-pascal] parent class as a parameter type

2011-11-12 Thread ik
Hello List, Since 2.6.0, when you write something like this: procedure foo(AClass : TStrings); foo(MyStringList); // Will return an error that TStrings is expected ... I can not use TStringList as the parameter without casting it to TStrings. But I do not understand why this limitation added. Ca

Re: [fpc-pascal] Compilation time

2011-11-12 Thread Rainer Stratmann
Am Saturday 12 November 2011 21:53:51 schrieb Florian Klämpfl: > Am 12.11.2011 21:51, schrieb Rainer Stratmann: > > I am searching for a new computer, which is the best cpu? > > Best results gave an Core i7-2600 so far. Lets say with this cpu there is 10 seconds compiletime. Which compiletime have

Re: [fpc-pascal] Compilation time

2011-11-12 Thread Florian Klämpfl
Am 12.11.2011 21:51, schrieb Rainer Stratmann: > Does more cpu cores mean less compile time? No. > I am searching for a new computer, which is the best cpu? Best results gave an Core i7-2600 so far. Overclocking an 2600k or getting a 2700 might give even better result ;)

[fpc-pascal] Compilation time

2011-11-12 Thread Rainer Stratmann
Does more cpu cores mean less compile time? I am searching for a new computer, which is the best cpu? Is it possible to write the compile time in the Lazarus output window? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepasca

Re: [fpc-pascal] Free Pascal 2.6.0rc1 released

2011-11-12 Thread Sven Barth
On 06.11.2011 00:27, Marco van de Voort wrote: We have placed the first release-candidate of the Free Pascal Compiler version 2.6.0 on our ftp-servers. You can help improve the upcoming 2.6.0 release by downloading and testing this release. If you want you can report what you have done here: htt

[fpc-pascal] Re: ioda joda fulltext search not working

2011-11-12 Thread Reinier Olislagers
On 12-11-2011 4:44, noreply-buo9vyj1...@public.gmane.org wrote: > I was reading recently that MySQL has fulltext on InnoDB built in.. don't > know much about it but I came across that recently while googling. > Firebird has no fulltext built in to it I guess, eh? > No, but there was an effort to e

SV: [fpc-pascal] Is there an online tool for browsing library documentation and source code for FPC and Lazarus?

2011-11-12 Thread Jeppe Græsdal Johansen
There is this page for RTL related units: http://www.freepascal.org/docs-html/rtl/index.html I don't know about packages. I think for packages, reading the unit source codes and looking at the examples is more efficient Is there an online tool for browsing librar

Re: [fpc-pascal] Is there an online tool for browsing library documentation and source code for FPC and Lazarus?

2011-11-12 Thread Michael Van Canneyt
On Sat, 12 Nov 2011, Frank Church wrote: Is there an online tool for browsing library documentation and source code for FPC and Lazarus? I am looking for something along these lines - http://stdlib.rubyonrails.org/, http://htmlunit.sourceforge.net/apidocs/index.html. Doesn't the FPC communi

[fpc-pascal] Is there an online tool for browsing library documentation and source code for FPC and Lazarus?

2011-11-12 Thread Frank Church
Is there an online tool for browsing library documentation and source code for FPC and Lazarus? I am looking for something along these lines - http://stdlib.rubyonrails.org/, http://htmlunit.sourceforge.net/apidocs/index.html. Doesn't the FPC community have something similar? -- Frank Church =

Re: [fpc-pascal] ioda joda fulltext search not working

2011-11-12 Thread Michael Van Canneyt
On Fri, 11 Nov 2011, nore...@z505.com wrote: On Wed, 9 Nov 2011, Graeme Geldenhuys wrote: On 9 November 2011 10:40, wrote: It definitely works, I also use it in a commercial project to implement full-text-search on a firebird database. Now that would be pretty awesome! :) It is. Wh