Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-11

"lcl: less with-blocks for FPC 3.1.1"

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt
to Marcos Douglas
Marcos Douglas wrote 7 lines
Hi, Many changes using this comment (in the subject) was made in LCL SVN, changing the 'with' sintaxe to use a variable instead... why? Please, I would like to know if something will change in the new compiler version using the 'with' sintaxe.

Nothing will change for with.
But TRect may receive methods, and this may lead to hard-to-catch errors.

Mattias did this for safety.

Michael.

Reply by email

Sven Barth
to Marcos Douglas: Many changes using this comment (in the subject) was made in LCL SVN, changing the 'with'…
"Marcos Douglas" wrote 10 lines
Hi, Many changes using this comment (in the subject) was made in LCL SVN, changing the 'with' sintaxe to use a variable instead... why? Please, I would like to know if something will change in the new compiler version using the 'with' sintaxe.

http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/interfaces/carbon/carbonthemes.pas?root=lazarus&r1=50303&r2=50302&pathrev=50303

For more details see the "Extending TRect breaks Lazarus" thread :)

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20151111/720e18c2/attachment.html>

Reply by email

Marcos Douglas
to Sven Barth
Sven Barth wrote 14 lines
Am 11.11.2015 18:58 schrieb "Marcos Douglas" : > > Hi, > > Many changes using this comment (in the subject) was made in LCL SVN, > changing the 'with' sintaxe to use a variable instead... why? > > Please, I would like to know if something will change in the new > compiler version using the 'with' sintaxe. > > > http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/interfaces/carbon/carbonthemes.pas?root=lazarus&r1=50303&r2=50302&pathrev=50303 For more details see the "Extending TRect breaks Lazarus" thread :)

:P

Yeah, I saw later. :)

Thanks,
Marcos Douglas

Reply by email