Convert Types




See also


Different target platforms almost certainly require different data types, so you often require a method of converting between types, as offered by the following macro:

CONVERT_TYPE(<destinationLanguage>, <originalType>)


This function converts <originalType> to the corresponding type in <destinationLanguage>, using the datatypes and common types defined in the model, where <originalType> is assumed to be a platform independent common type.

A similar macro is available when transforming common datatypes to the datatypes for a specified database:

CONVERT_DB_TYPE(<destinationDatabase>, <originalType>)


This function converts <originalType> to the corresponding datatypes in <destinationDatabase>, which is defined in the model; <originalType> refers to a platform independent common datatype.