Products Downloads


French version


 

 

This function allows to populate an array with key/value elements in order to generate a secured ID (Adelia Cloud secureID).

 

Warning: This function must be used in the client part of the program.

 

Context

  • Adelia Cloud client,

  • Event Adelia client.

 

Parameters

ALPHA(n) [][]

Values

Two-dimensional array of strings.

The first element of a line is the key, the second element is the associated value.

The array must contain at least EltNb number of lines.

NUM_BIN_4

EltNb

Number of lines in the array.

BOOL

URLEncode

Encodes the result so it can be passed in a http URL.

ALPHA(n)

Result

Encoded data.

NUM_BIN_4

ResultLgth

Length of the result variable.

BOOL

ReturnCode

Operation return code:

*TRUE if the function call is successful.

*FALSE if not (truncated data or encoding problem).

 

Example

DATA(0,0) = 'Key1'

DATA(0,1) = 'Value1'

DATA(1,0) = 'Key2'

DATA(1,1) = 'Value2'

CALL_DLL 'VATOOLBX.DLL' 'VaToolBxCloudEncodeMap' DATA 2 *TRUE BUFFER 512 ReturnCode

 

 

List of the VaToolBx functions by topic

 

↑ Top of page