Enhanced Nullable Types

From RemObjects Software

Jump to: navigation, search

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



Starting with Joyride, nullable types have been enhanced to make them feel more like a full language feature that fits in neatly with the other types, rather than a runtime trick.

For example, variables defined as "nullable Int32" allow full and direct access to all members of Int32 and behave like a true Int32 in every sense - with the addition of allowing nil values.

In combination with the new ":" operator and the newly introduced valueOrDefault helper function, nullable types are now easier to use than ever, and feel much more natural than in any other .NET language.


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