[Lazarus] operator overloading

Wildfire wildfire at windowsbbs.com
Sun Feb 24 16:04:52 CET 2013


> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130224/861cae87/attachment-0003.html>


More information about the Lazarus mailing list