Re: [Lazarus] Easiest way to case strings

2009-03-27 Thread Graeme Geldenhuys
On Fri, Mar 27, 2009 at 3:22 AM, Hans-Peter Diettrich drdiettri...@aol.com wrote: HasNext()         Returns true if the collection has more items                   when traversing the collection in the forward                   direction. This (and the Peek methods) require that the

Re: [Lazarus] Mac OS X or iPhone applications created with Lazarus

2009-03-27 Thread Graeme Geldenhuys
On Thu, Mar 26, 2009 at 10:00 PM, dmitry boyarintsev skalogryz.li...@gmail.com wrote: LCL-Cocoa does exists. http://wiki.lazarus.freepascal.org/PasCocoa It's about 2% done, but it exists :) PasCocoa is only the Cocoa bindings correct? I see in the latest Lazarus (svn) that LCL-Cocoa is marked

[Lazarus] A problem with extended ascii

2009-03-27 Thread pluma pluma
Hello, i'm new in this mailing list and in Lazzarus. I use Delphi since many years, now i'm trying Lazzarus to decide if use it in an open project. I need to use extended ascii value as à å ä ã ê ë and so on. I note that in Tmemo and in TListbox when i try to open a text file (made with notepad)

Re: [Lazarus] Easiest way to case strings

2009-03-27 Thread Alexander Klenin
On Fri, Mar 27, 2009 at 11:22, Hans-Peter Diettrich drdiettri...@aol.com wrote: [critique of Graeme's iterators] Since Graeme did not wish to post his article in the open, perhaps he also did not wish it to be cited? Anyway, I understood his design from the quote and agree with some of your

Re: [Lazarus] Easiest way to case strings

2009-03-27 Thread Alexander Klenin
On Fri, Mar 27, 2009 at 10:02, Hans-Peter Diettrich drdiettri...@aol.com wrote: Note that I said with defined equality. The reason 'case' should not include floating point numbers is that equality if not usefully defined for them. The same for strings, where mere binary (case sensitive)

Re: [Lazarus] Easiest way to case strings

2009-03-27 Thread Alexander Klenin
On Fri, Mar 27, 2009 at 18:49, Graeme Geldenhuys graemeg.li...@gmail.com wrote: The article was written for a magazine so I do not have the rights to publicly publish it myself.  I you want to read it, buy the Toolbox magazine (German translation) and back-order Toolbox 1'2009 or ask and I

Re: [Lazarus] Easiest way to case strings

2009-03-27 Thread Graeme Geldenhuys
On Fri, Mar 27, 2009 at 10:26 AM, Alexander Klenin kle...@gmail.com wrote: Since Graeme did not wish to post his article in the open, perhaps he also did not wish it to be cited? The article was written for a magazine so I do not have the rights to publicly publish it myself. I you want to

Re: [Lazarus] A problem with extended ascii

2009-03-27 Thread ik
Hi, Here are some points that should be taken in consideration: 1. Does both Delphi and Lazarus uses the same fonts for the components ? 2. Do you use the same code page in side the Tfont settings ? 3. Are you sure it's extended ASCII and not widechar, UTF-8 or other encoding ? Ido 2009/3/27

Re: [Lazarus] Mac OS X or iPhone applications created with Lazarus

2009-03-27 Thread dmitry boyarintsev
PasCocoa is only the Cocoa bindings correct?  I see in the latest Lazarus (svn) that LCL-Cocoa is marked pre-alpha, so clearly it's not usable yet and Lazarus itself can't be compiled with LCL-Cocoa - which is the point I was trying to make. If you need LCL application for Mac - use Carbon

Re: [Lazarus] Easiest way to case strings

2009-03-27 Thread Graeme Geldenhuys
On Fri, Mar 27, 2009 at 10:59 AM, Alexander Klenin kle...@gmail.com wrote: It is not that, I just wanted to note that citing it might be also forbidden/illegal, sorry for being unclear. Ah ok. :) I've been meaning to email the editor to ask permission for articles that has been in print some

Re: [Lazarus] Mac OS X or iPhone applications created with Lazarus

2009-03-27 Thread zeljko
On Friday 27 March 2009 08:28, Graeme Geldenhuys wrote: Out of interest... Does Carbon and Cocoa applications look different? Joanna immediately said that the screenshot (link below) is a Carbon app, not a Cocoa app. How does the look of the two differ?

[Lazarus] GradientFill

2009-03-27 Thread Jóni Silva
Hi, I'm trying to implement the gradientfill function in WINCE. Altough it successfully calls the function is displays everything black. *Can anyone tell me what's wrong?* [image: Wacko] *GradientFill implementation* TTriVertex = packed record x: Longint; y: Longint; Red: Word;

Re: [Lazarus] Easiest way to case strings

2009-03-27 Thread Graeme Geldenhuys
On Fri, Mar 27, 2009 at 10:59 AM, Alexander Klenin kle...@gmail.com wrote: The article was written for a magazine so I do not have the rights to publicly publish it myself.  I you want to read it, buy the Toolbox magazine (German translation) and back-order Toolbox 1'2009 or ask and I will

Re: [Lazarus] Valladolid Programming Contest simple test fails at compile?

2009-03-27 Thread waldo kitty
Mehmet Erol Sanliturk wrote: On Thursday 26 March 2009 05:16:32 pm Thierry Coq wrote: TEST PROGRAM program Test1; [CHOMP] until eof; end. END OF TEST PROGRAM ___ At until eof , there should be a file variable name as eof ( FN )

Re: [Lazarus] Valladolid Programming Contest simple test fails at compile?

2009-03-27 Thread Vincent Snijders
waldo kitty schreef: Mehmet Erol Sanliturk wrote: On Thursday 26 March 2009 05:16:32 pm Thierry Coq wrote: TEST PROGRAM program Test1; [CHOMP] until eof; end. END OF TEST PROGRAM ___ At until eof , there should be a file variable name

Re: [Lazarus] Mac OS X or iPhone applications created with Lazarus

2009-03-27 Thread Ron Grove
Ah okay. Isn't Leopard the latest version? I thought Apple decided that it will now only be a 64bit OS - or is that for the upcoming Snow Leopard release? If they moved to 64bit only, then surely that will kill off the Carbon API. Unlike Windows and Linux there isn't a 64 bit version of OS X and

Re: [Lazarus] Valladolid Programming Contest simple test fails at compile?

2009-03-27 Thread Thierry Coq
yes, it does read from standard input and output file. So there's no need to create textfiles. (It is possible to mention the input and output files in the program declaration such as : program test1(input, output). Adding {$MODE OBJFPC}on Joshyfun's suggestion solved the compiler error. Now

Re: [Lazarus] About the Trim Spaces Style modes. Which one should be the default mode?

2009-03-27 Thread Martin Friebe
Flávio Etrusco wrote: Btw, I just checked turbo-delphi: It trims on leave line only. ___ I don't have Turbo Delphi, but Delphi 7 and Delphi 2009. My test show that both Delphi 7 and Delphi 2009 use Caret or Edit mode. Since there is a difference

Re: [Lazarus] About the Trim Spaces Style modes. Which one should be the default mode?

2009-03-27 Thread Sayyid Ibnu Husein Alatas
From: Martin Friebe laza...@mfriebe.de To: General mailing list lazarus@lazarus.freepascal.org Sent: Friday, March 27, 2009 1:18:05 AM Subject: Re: [Lazarus] About the Trim Spaces Style modes. Which one should be the default mode? * As for the default. *

Re: [Lazarus] Valladolid Programming Contest simple test fails at compile?

2009-03-27 Thread Mehmet Erol Sanliturk
On Friday 27 March 2009 08:08:20 pm JoshyFun wrote: Hello Thierry, TCIs there another way recommended for TC these contests? I have none experience on the contest scene, but eof in the stdin looks nonsense for me when you input data using the keyboard, 'cos after the first line (readln) the

Re: [Lazarus] Stored Procedure and Returning Values

2009-03-27 Thread Eduardo Lopez
Hi, you must do a select * from ZnajdzKodKreskowy (:Kod, 0, 0, 0, :IleCyfrSprawdzac) The example: qry01.SQL.Clear; qry01.SQL.Text:= 'select * from ZnajdzKodKreskowy (:Kod, 0, 0, 0, :IleCyfrSprawdzac)'; qry01.Params.ParamByName('Kod').AsString:= 'AAA';

Re: [Lazarus] Lazarus 0.9.26.2 released

2009-03-27 Thread Paul Ishenin
闫程远 wrote: how about the bug in GTK2? can i compile a program with GTK2 using fpc2.2.2? The problem with gtk2 is placed not in the lazarus itself but in fpc 2.2.2. To solve it you don't need another lazarus but another fpc. Or you can just edit gtk2 package of your own fpc 2.2.2 installation