Re: [Lazarus] Why the Java became so strong?
What is the main reason that Java / C + + is better known than Lazarus / FPC? INTERNET. For Example even Microsoft in his great years can't beat Internet! If you remember the advertising of one of the version of Windows was: The Internet looks like Windows! They understood that it is not so. The next version of the advertising was: Windows looks like Internet! What include in Internet? Web Programing. I know only one web sait written in Lazarus: www.lazarussupport.com. But when I go to the forum it is not written in Pascal! Can a programmer with Web languages make a desktop applications? Yes! Maybe not so good and quick like with Lazarus but the programmer have Internet... So why the programmer must learning another programing language? Interten applications like below was writen on C/C++/Java, php... No one of they was writen on Pascal. Browsers Forums maker - like phpBB DB Another is: Office Aplication Antivirus software - if someone can convert MoonSecure from Delphi to Lazarus will be a great demo of capabilities of Lazarus/Pascal. Another thing are the mobile phones. Lazarus can not be used directly for mobile phones. Graeme wrote: Use the right tool for the job. Unfortunately, Lazarus made alone mainly Desktop applications. But this is a very small part of the market! For the above marketing purposes it partially use other languages. Even Lazarus use qt, gtk..., which are not written on Pascal. So why the programmer learn Pascal and another language when the programmer may do what he/she want for Internet, mobile devices, desktop applications with this another language? Please do not get me wrong. I really like Lazarus / FPC very much. Lazarus / FPC teams do a great job. But while the marketing objectives are so limited, there is very little chance of Lazarus to gain greater prominence. This was a very big mistake of Borland and we know what they do with Pascal. Sorry for my bad English!-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Why the Java became so strong?
От: Felipe Monteiro de Carvalho Относно: Re: [Lazarus] Why the Java became so strong? До: Lazarus mailing list Изпратено на: Понеделник, 2012, Февруари 27 14:35:08 EET 2012/2/27 Rigel Rigel : Interten applications like below was writen on C/C++ I never heard of a web page written in C/C++ I think Java is a C/C++ dialect. So is known for programers using C/C++. My point is that for now Internet and mobile applications has focus. And the place of Lazarus/Pascal is little in them. I hope this change. Even Lazarus use qt, gtk... Not necessarely. In LCL for Android everything is done in Lazarus itself: http://wiki.lazarus.freepascal.org/Custom_Drawn_Interface -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Message error when closing IDE
Thank you all! Clean Up + Build All solve the problem. If that really not an error may be better change the name of dialog from 'Error' to 'Message' for example or something else. Оригинално писмо От: waldo kitty Относно: Re: [Lazarus] Message error when closing IDE До: lazarus@lists.lazarus.freepascal.org Изпратено на: Петък, 2012, Февруари 24 00:01:16 EET On 2/23/2012 02:02, Rigel Rigel wrote: Hello, After I install component (for example bgrabitmap5.6 for lazpaint4.7 but not only this component) and after closing IDE error message appears (see attachment). How can I fix a problem? Thanks! you've built a debug or have the use heaptrc turned on... it isn't an error, really... BUT it would be nice for the window title to say something OTHER than Error... perhaps the window title should be Heap Trace or similar??? this has been on my Requests To Make list for some time but i've not gotten there yet... until now ;) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus - Великден в Дубровник с чартърен полет на 12.04, 4 дни – от 219€ http://www.astralholidays.bg/pochivki/program/11/country/24/resort/597.html-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Message error when closing IDE
Hello, After I install component (for example bgrabitmap5.6 for lazpaint4.7 but not only this component) and after closing IDE error message appears (see attachment). How can I fix a problem? Thanks! Screenshot.png Description: Binary data -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Window on compile
Thanks! Оригинално писмо От: Dejan Boras Относно: Re: [Lazarus] Window on compile До: Lazarus mailing list Изпратено на: Вторник, 2011, Юли 19 09:11:27 EEST Go to menu, Project - Project Options - Linking and check the Win32 gui application (-WG) checkbox. From: Rigel Rigelov To: lazarus@lists.lazarus.freepascal.org Sent: Tuesday, July 19, 2011 8:08 AM Subject: [Lazarus] Window on compile Hi List, I was convert a Delphi program. When I compile and run it black window appears. When I compile and run new project does not appear this window. Please tell me how I can stop appear this window. Thanks! -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Case error with cirilyc
Thank you very much, Dmitry! It works. Best regards, Rigel Оригинално писмо От: dmitry boyarintsev Относно: Re: [Lazarus] Case error with cirilyc До: Lazarus mailing list Изпратено на: Петък, 2009, Септември 18 07:22:52 EEST --- with UTF8Scanner . -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Case error with cirilyc
Dmitry, I follow your instruction and now project compiles. But CASE don't effect on cirilyc symbol. In example output is without symbol. Lat symbols are ok. Vincent, attachment without .exe, .o, .ppu is too big to and again restruction of mail can't allow me to send it. Example with memo1, memo2, button1: procedure TForm1.Button1Click(Sender: TObject); var stInp: String; stOut: String; i: integer; begin stOut := ''; stInp := Memo1.Lines.Text; for i := 1 to length(stInp) do Begin // Cirilyc case case stInp[i] of 'а': stOut := stOut + 'a'; //Cir 'б': stOut := stOut + 'b'; 'в': stOut := stOut + 'v'; 'г': stOut := stOut + 'g'; 'д': stOut := stOut + 'd'; 'a': stOut := stOut + 'a'; //Lat 'b': stOut := stOut + 'b'; 'v': stOut := stOut + 'v'; 'g': stOut := stOut + 'g'; 'd': stOut := stOut + 'd'; End; end; stOut := stOut + stInp[i]; Memo2.Lines.Text := stOut; end; Thanks, Rigel Оригинално писмо От: dmitry boyarintsev Относно: Re: [Lazarus] Case error with cirilyc До: Lazarus mailing list Изпратено на: Четвъртък, 2009, Септември 17 08:57:41 EEST Rigel, do you mean? var ch : char; begin ch := 'Q'; case ch of 'Q': writeln('Q'); 'Z': writeln('Z'); 'Я': writelh('Я');// cyrillic character gives the error end; end. If your unit is new one (created by Lazarus, rather than Delphi), then cyrillic characters are encoded as UTF8 character, that's 2 character strings. You can achieve the same effect as Delphi, by changing file's encoding to the proper Ansi encoding: Right Click on the editor - File Settings - Encoding - select the required encoding (current Windows Ansi encoding) (for example cp1251 for Russian charset) Changing the encoding should fix the problem, but you might have a side effect on other (non Windows) systems. thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Case error with cirilyc
Dmitry, I follow your instruction and now project compiles. But CASE don't effect on cirilyc symbol. In example output is without symbol. Lat symbols are ok. Vincent, attachment without .exe, .o, .ppu is too big to and again restruction of mail can't allow me to send it. Example with memo1, memo2, button1: procedure TForm1.Button1Click(Sender: TObject); var stInp: String; stOut: String; i: integer; begin stOut := ''; stInp := Memo1.Lines.Text; for i := 1 to length(stInp) do Begin // Cirilyc case case stInp[i] of 'а': stOut := stOut + 'a'; //Cir 'б': stOut := stOut + 'b'; 'в': stOut := stOut + 'v'; 'г': stOut := stOut + 'g'; 'д': stOut := stOut + 'd'; 'a': stOut := stOut + 'a'; //Lat 'b': stOut := stOut + 'b'; 'v': stOut := stOut + 'v'; 'g': stOut := stOut + 'g'; 'd': stOut := stOut + 'd'; End; end; stOut := stOut + stInp[i]; Memo2.Lines.Text := stOut; end; Thanks, Rigel Оригинално писмо От: dmitry boyarintsev Относно: Re: [Lazarus] Case error with cirilyc До: Lazarus mailing list Изпратено на: Четвъртък, 2009, Септември 17 08:57:41 EEST Rigel, do you mean?... -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Case error with cirilyc
I try it but don't work with cyrillic: memo1 - абвгд; output memo2 - абвгд procedure TForm1.Button1Click(Sender: TObject); var s :TUTF8Scanner; begin s := TUTF8Scanner.Create(Memo1.Text); s.FindChars :='абвгд'; // Memo1.text:=s.GenerateCaseStatement(); //Writes the case block for you repeat case s.FindIndex(s.Next) of {а} 0: s.Replace('k'); {б} 1: s.Replace('в'); {в} 2: s.Replace('ввв'); {г} 3: s.Replace('g'); {д} 4: s.Replace('d'); end; until s.Done; Memo2.Text := s.UTF8String; s.free; end; Оригинално писмо От: theo Относно: Re: [Lazarus] Case error with cirilyc До: lazarus@lists.lazarus.freepascal.org Изпратено на: Четвъртък, 2009, Септември 17 22:38:41 EEST You might try utf8scanner http://wiki.lazarus.freepascal.org/Theodp ... -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus