[<<<] [>>>]

Use this function whenever you want to access the @b{value} of a variable as a double. Formerly ScriptBasic in such situation converted the variable to double calling @xref{execute_Convert2Double()} and then used the macro DOUBLEVALUE. This method is faster because this does not create a new mortal variable but returns directly the double value.

The macro GETDOUBLEVALUE can be used to call this function with the default execution environment variable pEo

Note however that the macro GETDOUBLEVALUE and DOUBLEVALUE are not interchangeable. GETDOUBLEVALUE is returnig a double while DOUBLEVALUE is a left value available to store a double.

double execute_GetDoubleValue(pExecuteObject pEo,
                              pFixSizeMemoryObject pVar

[<<<] [>>>]