...
Use this function to cast a value to another type avoiding run-time conflicts in assignments. E.g. from INTEGER to xpxDateTime and back, from Instance or aggregate Id to INTEGER and back, LOGICAL to BOOLEAN, REAL to INTEGER, INTEGER to STRING, etc. See also specialized functions like xpfIntegerToInstanceId, xpfIntegerToAggrId, xpfIntegerToAggregateId, xpfStringToInteger, etc.
Arguments
...
Type | Name | Comment |
GENERIC | value | comments |
INTEGER | newDatatype | predefined constants that used to specify a required result primitive datatype: xpxDateTime, xpxInteger, xpxString, xpxBoolean, xpxLogical, xpxInstance, xpxAggregate etc. |
...