DTYPE
DTYPE returns information about the element type of a specified element. DTYPE returns N if the element is a numeric element, S if the element is a string element, C if the element is a consolidated element.
In the case of an element attribute dimension, DTYPE returns AN if the attribute is a numeric attribute, AS if the attribute is a string attribute, and AA if the attribute is an alias attribute. For more information, see Element Attributes.
This function is valid in both rules and TurboIntegrator processes.
Syntax
DTYPE(dimension, element)
|
Argument |
Description |
|---|---|
|
dimension |
A valid dimension name. |
|
element |
The name of an element within the dimension. |
Example
The element Europe is a consolidated element of the Region dimension, so the example returns C.
DTYPE('Region','Europe')