Val(Coord: ICalculatedCubeInstanceCoord): Variant;
Coord. Coordinate, which value must be obtained.
The Val method saves a value by the specified coordinate.
This method is used in application macros that calculate values by the current coordinate in a calculated cube.
This example is a macro for a calculated cube.
Function TestFunction(InputCoord: ICalculatedCubeInstanceCoord): Variant;
Begin
Return Math.Log10(CalculatedCube.Val(InputCoord));
End Function TestFunction;
On executing the macro the ten-base logarithm will be calculated for the values, which coordinates will come to the macro as the input parameter.
See also: