Page tree
Skip to end of metadata
Go to start of metadata

Description

Reads value of entry

 

Syntax

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

 

Parameters

sFile (String)

Filename

sSection (String)

Section name

sEntry (String)

Entry name

bMustExist (Boolean)

Variable must exist

 

Return value

Result will be stored in gsValue

 

Example

VBScript
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

  • No labels