Loading...
 

CX_SYSTEM_OBJECT::RegisterRate

CX_SYSTEM_OBJECT::RegisterRate

Description:

Unit conversion table on/off (for automatic conversion in arithmetic operations with units - see also CX_VALUE)

If a unit conversion table has already been registered (with SetRate or RegisterRate function), the transferred table is added to it. The unit conversions of the transferred table must not contradict the previously registered conversion tables.

This function is used for example to register global currency tables.

Attention!
Log off with DeregisterRate function

Code example:
table SystemObject Call(RegisterRate)
Stack
Stack Position Object type Brief description
Stack(In) Top CX_RATEUnit conversion table/conversion rule
Stack(Out) Top - -

Function call: SystemObject Call(RegisterRate)