Products Downloads


French version


 

 

This function is used to retrieve the integer value of the key (Key) included in the file (IniFile) section (Section). If no key is present, the value returned will be that of the Default parameter.

This function does not distinguish between upper- and lower-case characters in the Section and Key parameters.

 

Context

  • Windows client,

  • Windows server,

  • Java client,

  • Java server,

  • Adelia Cloud client,

  • Event Adelia client.

 

Parameters

ALPHA(n)

IniFile

Name of the ".ini" file.
If IniFile does not contain a full access path, the system will look for the file in the Windows directory.

ALPHA(n)

Section

Registry section.

ALPHA(n)

Key

Registry key.

NUM_BIN_4

Value

Variable resulting from the read operation.

NUM_BIN_4

Default

Default value.

 

Example

IniFile = 'User.ini'

Section = 'Age'

Key = '0001'

Default = -1

CALL_DLL 'VATOOLBX.DLL' 'VaToolBxQueryValueInt' IniFile Section Key Value Default

 

List of the VaToolBx functions by topic

 

↑ Top of page


  • Aucune étiquette