[fpc-pascal] Extending an enumeration

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Sun Jul 18 18:23:13 CEST 2010


If I have a class with a property  Phase: TrrPhase  where TrrPhase is an 
enumeration such as (rrQuiescent, rrInitialised), is there an elegant 
way of extending the enumeration and overriding the property type so 
that a derived class can use the new values?

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list