Products Downloads


French version


 

 

This function specifies the value of a real number input parameter in the array generated by the CreateParameters function.

The first parameter must be assigned the index 0.

 

Context

  • Windows client,

  • Windows server.

 

Parameters

NUM_BIN_4

Index

Index of the element in the 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 input parameter

Input parameter

NUM_BIN_4

ReturnCode

Return code for the operation

Possible values:

0

The operation was completed successfully. 

1

An unspecified error occurred.

5

The value of Index is incorrect.

6

The DLL has not been initialized.

Output parameter

 

 

Example

NUM_E(10,0) RealNb1

NUM_P(8,2) RealNb2

NUM_BIN_4 ReturnCode

 

/* Load the first parameter in the array with the real number 123

RealNb1 = 123

CALL_DLL 'VaToCom' 'SetDoubleParameter' 0 RealNb1 ReturnCode

/* Load the second parameter in the array with the real number -123,45

RealNb1 = -123,45

CALL_DLL 'VaToCom' 'SetDoubleParameter' 1 RealNb2 ReturnCode

 

↑ Top of page

  • Aucune étiquette