Products Downloads


French version


 

 

This function retrieves the value of a long integer 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_BIN_2
NUM_E (Ln <= 9, 0)
NUM_P (Ln <= 9, 0) 

LongInteger

Value of a long integer 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 long integer variant.

Output parameter

 

 

Example

NUM_BIN_4 ReturnCode

NUM_BIN_4 Integer1

NUM_E(5,0) Integer2

 

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

CALL_DLL 'VaToCom' 'GetLongParameter' 0 0 Integer1 ReturnCode

CALL_DLL 'VaToCom' 'GetLongParameter' 1 2 Integer2 ReturnCode

 

 

 

↑ Top of page

  • Aucune étiquette