[fpc-pascal] with statement using mulltiple objects

Luca Olivetti luca at ventoso.org
Sat Sep 13 20:26:54 CEST 2014


El 13/09/14 20:13, vfclists . ha escrit:

> I thought all the 3 labels would have the caption set, but only Label3's
> caption is set. Is this a difference between Delphi's Object Pascal and
> FreePascal, or has Delphi's Object Pascal always worked in the same manner?

The "with" syntax comes from plain old pascal and it has always worked
this way.

http://books.google.co.uk/books?id=xXSZbSLFTM8C&lpg=PP1&hl=ca&pg=PA73#v=onepage&q&f=false

Bye
-- 
Luca




More information about the fpc-pascal mailing list