[fpc-devel] C-block reference syntax (blocker for 3.2)
Michael Van Canneyt
michael at freepascal.org
Sat Dec 7 09:48:18 CET 2019
On Sat, 7 Dec 2019, Blaise at blaise.ru wrote:
> Beforehand, to provide a context, here are some excerpts from private
> correspondence:
>
>
> If there is a consensus that this is a blocker, I am ready to do the work
> ASAP. provided we select the syntax. Personally, I am inclined towards these
> three:
> type M = procedure (const N: Integer) with var;
> type M = procedure (const N: Integer) cblock;
I would go for the last one.
It makes immediatly clear upon reading what it stands for: a reference to a cblock.
'with var' etc. do not make clear what it stands for.
Michael.
More information about the fpc-devel
mailing list