Re: [Lazarus] operator overloading
From: xrfang Sent: Sunday, February 24, 2013 7:31 AM To: Lazarus@lists.lazarus.freepascal.org Subject: [Lazarus] operator overloading operator (p1, p2: TPainter) b: Boolean; —method2 Close, but no cigar... operator (p1, p2: TPainter): Boolean; -- ___ 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] operator overloading
Both variants will work. The variant with b: Boolean was originally introduced for the non-Object-Pascal modes (fpc, tp), because there you only have the name of the procedure/function as a result variable and as operators don't have names (in that sense) you can specify the name of the result variable. It works in the Object Pascal modes (delphi, objfpc) however as well. Thanks for the Heads Up Sven, you learn something new everyday. My apologies for the misinformation (and HTML) earlier.-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Request
Adding to Kenneths reply, the following Wiki link may be helpful. http://wiki.freepascal.org/Installing_Lazarus_on_Haiku-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Converting an Integer of pence into pounds
- Original Message - From: Richard Mace To: Lazarus mailing list Sent: Wednesday, September 26, 2012 1:45 PM Subject: Re: [Lazarus] Converting an Integer of pence into pounds Alex, Thanks, that's exactly what I was trying to do! I was using pounds := pence Div 100 Cheers Which would work with Pennies := pence MOD 100-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Object Inspector off screen
Anyway, it appears lazarus has remembered my previous window settings and the object inspector window is off screen, I can’t see any way to bring it back. Never mind I found it in IDE options, sorry for wasting your time.-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [OT] Re: Lazarus Portuguese translation situation
I think this: X-Mailer: Microsoft Windows Live Mail 15.4.3538.513 I'm not sure about that... is your problem... - what it sends seems like it contains no references in the header, therefore programs that are aware of them, well, they are at loss... Windows Live Mail is thread aware, whether or not it posts references I don't know I'm using this post as a test :) Windows Live Mail is a webfront of what used to be Hotmail, right ? Wrong. Maybe there are some settings that govern this (I don't use hotmail, I don't know) Perhaps. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [OT] Re: Lazarus Portuguese translation situation
I'm using this post as a test :) Reply came in the expected thread and headers indicate references... References: E2199D8895274E3393E58BB632C3068E@Ferrari j420ua$kf1$1...@dough.gmane.org -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] [OT] Re: Lazarus Portuguese translation situation
Yet, Marcelo's post doesn't have a References header. As Lukasz suggested earlier, perhaps there is a setting for this. If there is I wouldn't have a clue where to find it (I rarely use this client). Either way it's not actually the client that's the issue. Perhaps a server somewhere is stripping the header (though why I wouldn't have a clue). -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Borked Reference Header, was [OT] Lazarus Portuguese translation situation
His posts also don't have the usual Re: at the start of the subject. Reason enough to believe, that his mailer is sending them as new mail, rather than as reply I think you've hit the nail on the head Martin. One final test for the doubters out there, I've also changed the subject. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Borked Reference Header, was [OT] Lazarus Portuguese translation situation
One final test for the doubters out there, I've also changed the subject. Which does start a new thread in Live Mail (at least with default settings). Though the References Header is still there. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How can I increment/decrement a alphanumeric value?
http://freepascal.org/docs-html/rtl/strutils/dec2numb.html http://freepascal.org/docs-html/rtl/strutils/numb2dec.html This does not solve my problem, I need to use characters from A to Z. Thanks, Silvio Clécio Silvio, read the links, those two functions provide exactly what you want (use BASE 36) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How can I increment/decrement a alphanumeric value?
- Original Message - From: Antônio antoniog12...@gmail.com To: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Sent: Saturday, August 21, 2010 3:09 PM Subject: Re: [Lazarus] How can I increment/decrement a alphanumeric value? Hexadecimals are base 16, with numbers from 0 to 9 and letters from A to F. Antônio 2010/8/21 silvioprog silviop...@gmail.com: Antonio, Silvio requires base 36 (0-9,A-Z) not base 16, I think this is where the confusion has come from. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] tFileOpen Action, Is it possible to cancel the dialog...
Cannot you check if the current file needs to be saved and prompt the user for it _before_ opening the dialog? That's one work around, The FileOpen Action is tied to a couple of controls though (Menu, ToolButton) and I was hoping to do all the work inside (so the menu toolbutton remain synchronised). It kind of defeats the purpose of the actions if I have to handle this myself. If it can't be done I'll probably write my own action for opening the file but it seems to me that this is a very common situation so canceling the dialog within the BeforeExecute should be possible returning Cancel as the result. I think I've just answered my own question, changing the dialogs execute event ???, is this the way to go or is their a simpler solution? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] tFileOpen Action, Is it possible to cancel the dialog...
Just started messing about with the standard actions in Lazarus and came across a minor problem. Is in possible to cancel the dialog in the BeforeExecute event, my plan was to ask the user to save the current file (Yes/No/Cancel) before opening another, problem is I don't know how to cancel the Dialog if the User selects Cancel. My apologies if I'm missing something glaringly obvious but I've never used actions before and although I can work around it I was just hoping I could do it within the actions events themselves. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Anyone done any work with SMS (text messaging)?
Hi Michael, I'll be using a USB attached modem to send the SMS's direct. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Anyone done any work with SMS (text messaging)?
- Original Message - From: Michael Schnell mschn...@lumino.de To: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Sent: Tuesday, April 27, 2010 10:47 AM Subject: Re: [Lazarus] Anyone done any work with SMS (text messaging)? On 04/27/2010 10:50 AM, Wildfire wrote: I'll be using a USB attached modem to send the SMS's direct. Ant this does work in Linux ? The Modem (3g mobile/celluar broadband) has extended AT commands to handle SMS's unfortunately the software my provider issues only runs in Windows. Hence my question. There's only 4 games left this season anyway so I'll probably throw something together in time for next seasons kick off. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Anyone done any work with SMS (text messaging)?
Thanks for the replies guys, Ido, I already have a cellular modem and service and unfortunately Graeme I'll be using AT commands to send/poll SMS's not HTTP :( It's not important but I'm lazy at heart and even a couple of clicks saved is good for me ;) I may write my own during the close season but if anyone can give advice it would be much appreciated. The main reason I ask is due to Lazarus' Multi Platform capabilities, the app supplied by my ISP only runs on Windows OS' and I don't fancy lugging my laptop around the games nor using a cellphone (even with predictive text) to enter the messages.-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] SendMessage Bug Work Around.
- Original Message - From: Justin Smyth delph...@smythconsulting.net To: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Sent: Thursday, April 22, 2010 1:43 PM Subject: [Lazarus] SendMessage Bug Work Around. if any one is interest in the code for this issue feel free to ask , i''m happy to share it. Hi Justin, I'd certainly be interested in a small example (just getting back to pascal after a long time and any source examples are appreciated). Perhaps you can attach it to the list? Failing that a private email would be welcome. -- Paddy -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus