Products Downloads


French version


 

 

This function retrieves the value of an environment variable.

 

Context

  • Windows client,

  • Windows server,

  • Java client,

  • Java server,

  • Adelia Web client,

  • Adelia Cloud client.

 

Parameters

ALPHA(n)

Variable

Variable name.

ALPHA(n)

Value

Variable name.

Output parameter.

NUM_BIN_4

ValueLen

Length of the Value (n) variable.

 

Note on Java/Web/Cloud support:

In Java, the VaToolBxGetEnv and VaToolBxPutEnv functions can be used to query and set the (System.getProperty() / System.setProperty()) system properties.

 

Note on Mobile support:

As the concept of environment is not implemented in Windows Mobile, the VaToolBxGetEnv and VaToolBxPutEnv functions are not supported.

 

Example

ALPHA(50)

Variable

ALPHA(256)

Value

NUM_BIN_4

Len

 

 

* Retrieves the 'ADELIWS' variable.

Variable

= 'ADELIWS'

Len

= 256

CALL_DLL

'VaToolBx' 'VaToolBxGetEnv' Variable Value Len

 

 

List of the VaToolBx functions by topic

 

↑ Top of page


  • Aucune étiquette