System Functions

The Elements compiler provides a list of System Function, also called Compiler Magic Functions. These are small helper functions that perform commonly needed tasks. In some cases, these tasks could be expressed otherwise, and the helper function is merely a convenient shortcut (such as with assigned()), while in other cases the helper function might expose underlying compiler functionality to accessible otherwise (such as for example with duck<T>()).

By default, these functions are automatically in scope without the need to use a namespace or class name prefix. However, if conflicts should arise with other declared identifiers (for example a member of the same name in a nearer scope, such as a local variable or a property/method on the current class), they can be accessed using their full RemObjects.Elements.System namespace prefix.