INI File - Get Value

Gets the data associated with a specific INI file value and stores it in a variable.

Action ID:
Action Category:
Action List Syntax:

100
INI File
<<VARIABLE>>
= INIFile.GetValue (<<FILENAME>>, <<SECTION>>, <<VALUENAME>>)

Settings

Variable name

The name of the variable to store the value in.

File name

The name of the INI file.

Section

The INI file section to read from. Only the section name is required in this field—you do not need the surrounding brackets. (For example, Data is correct as opposed to [Data].)

Value name

The name of the INI file value whose data will be stored.

Error Codes

Value
(%LastErrorNum%)

Simple Message
(%LastErrorMsg%)

Verbose Message
(%LastErrorDetails%)

0 (OK)

 

 

1

MSG_ERR_INI_FILE_GET_VALUE

MSG_ERR_INI_FILE_GET_VALUE
MSG_ERR_FILE_NOT_FOUND
<<FILENAME>>

Examples

None