Empty (keyword)

From RemObjects Software

Jump to: navigation, search

This is a Oxygene Language Feature topic
Feel free to add your notes to this topic below.



The empty directive can be used in method declarations to signify that no method implementation will be provided. In contrast to abstract methods, the compiler will generate an empty body for the method, and the method can be called.

This is helpful when adding methods in base classes that can be overridden in descendants but aren't required. It is also helpful when defining a class interface that will later be fleshed out and implemented.

For out and result parameters, nil will be returned for all reference types, and 0/false for all value types.

method ImplementMeIfNeeded; virtual; empty;

Applies to


See Also


Product: RemObjects Oxygene (formerly known as Chrome)
Current version: 3.0 Previous Versions: 'Joyride' (2.0), 'Floorshow' (1.5), 'Adrenochrome' (1.0)

GlossaryKeywordsLanguage FeaturesPlatform FeaturesSamplesArticlesHow ToIssues

Personal tools