2 ms·
> As far as I know, Pascal does not have closures. They're called Anonymous Methods in Object Pascal: http://docwiki.embarcadero.com/RADStudio/Berlin/en/Anony
by clouddrover 10y ago
> As far as I know, Pascal does not have closures.
They're called Anonymous Methods in Object Pascal:
http://docwiki.embarcadero.com/RADStudio/Berlin/en/Anonymous_Methods_in_Delphi http://docwiki.embarcadero.com/RADStudio/Berlin/en/Anonymous...
Free Pascal doesn't support them yet.