[Pas2js] Class constant with "external" class
Michael Van Canneyt
michael at freepascal.org
Sat Jan 27 13:58:20 CET 2018
On Sat, 27 Jan 2018, warleyalex via Pas2js wrote:
> class variable with "external" classes, I think should be a handy technique
> for setting conditions "before" an object is created from the class
> prototype.
An external class definition does not execute code.
It's just a definition.
Your proposal would change that principle.
I don't think this is a good idea.
Michael.
More information about the Pas2js
mailing list