MLTransform(name)
Parameter: Enumeration data field name or table name
| Stack | Description | |
|---|---|---|
| Stack(In) | integer | |
| Stack(Out) | multilingual string (CXB_MULTIPLE_STRING) |
The stack top value is transformed into a multilingual string, using the transformation table indicated in the parameter. The table can be specified directly or indirectly with reference to a data field:
In case the statement finds a string in the stack-top, the reverse transformation will be carried out.
| Stack | Description | |
|---|---|---|
| Stack(In) | string | |
| Stack(Out) | integer |
MLTransform(name, separatorSequence)
Parameter: Enumeration data field name or table name, separator between two names
| Stack | Description | |
|---|---|---|
| Stack(In) | integer | |
| Stack(Out) | string |
For a transformation table, which must contain values 2n only, the stack top value gets registered like a bit field. Result will be a string consisting of names of all bits = 1. Subsequent names are separated via string specified in the second parameter.
At this stage, reversed bit transformation is not yet available!
Information: To get the transform result in the Enumeration names as a simple string, (depends on the current language setting - compare statement Language), please use the statment Transform.