Loading...
 

CX_VALUE::CopyUnitName

CX_VALUE::CopyUnitName

Description:

If the unit is defined with more than one name, this function changes the first unit name to another one by passing the position to the desired unit name, which must not be greater than 3.

Code example:

Var(value)
2min -> value    //Einheit min hat weiteren Namen : MI, Minuten, Minute
1 value Call(CopyUnitName)    // Ergebnis: 2 MI

Stack
Stack Position Object type Brief description
Stack(IN) Top CX_VALUE Value
Top 1 INTEGER Position
Stack(OUT) Top CX_VALUE Return value
Function call: Call(CopyUnitName)