ICalculatedCubeClass.Val

Syntax

Val(Coord: ICalculatedCubeInstanceCoord): Variant;

Parameters

Coord. Coordinate, which value must be obtained.

Description

The Val method saves a value by the specified coordinate.

Comments

This method is used in application macros that calculate values by the current coordinate in a calculated cube.

Example

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:

ICalculatedCubeClass