Products Downloads


French version


 

 

This function retrieves the value of a real number output parameter in the array returned by the function which is executed by the Execute function.

The first element in the array is located at index 0.

 

Context

  • Windows client,

  • Windows server.

 

Parameters

NUM_BIN_4

MainIndex

Index of the element in the main array

Input parameter

NUM_BIN_4

Index

Index of the element in the sub-array

Input parameter

NUM_E (Ln > 9, 0)
NUM_P (Ln > 9, 0)
NUM_E (Ln, Dec <> 0)
NUM_P (Ln, Dec <> 0) 

RealNb

Value of a real number output parameter

Output parameter

NUM_BIN_4

ReturnCode

Return code for the operation

Possible values:

0

The operation was completed successfully. 

1

An unspecified error occurred.

2

The type returned by the function is not a variant or variant array.

4

The function returned no parameters.

5

The value of Index is incorrect.

6

The DLL has not been initialized.

8

The parameter located at the specified position is not a variant of the type double-precision real number.

Output parameter

 

 

Example

NUM_BIN_4 ReturnCode

NUM_E(5,2) RealNb1

NUM_P(8,3) RealNb2

 

/* Read both real numbers in the ReturnArr array which is described in the GetParameterSize function

CALL_DLL 'VaToCom' 'GetDoubleParameter' 2 0 RealNb1 ReturnCode

CALL_DLL 'VaToCom' 'GetDoubleParameter' 2 1 RealNb2 ReturnCode

 

 

 

↑ Top of page

  • Aucune étiquette