Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Reads value of entry

 


Syntax

Ini_ReadEntry(sFile, sSection, sEntry, bMustExist) As Boolean

 


Parameters

sFile (String)

Filename

...

bMustExist (Boolean)

Variable must exist

 


Return value

Result will be stored in gsValue 


Example

Code Block
languagevb
themeEclipse
languagevb
titleVBScript
If bStatus Then bStatus = Ini_ReadEntry("C:\CapaInstaller.ini", "SectionName", "EntryName", True)
If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)

Scripting Guidelines 


Related functions

Ini_DeleteEntry Ini_WriteEntry