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

Description

Checks if specified entry exists in specified section in specified file

 

Syntax

Ini_ExistEntry(sFile, sSection, sEntry, bMustExist) as Boolean

 

Parameters

sFile (String)

Filename

sSection (String)

Section name

sEntry (String)

Entry name

bMustExist (Boolean)

Entry must exist

 

Return value

Result will be stored in gbValue

 

Example

VBScript
If bStatus Then bStatus = Ini_ExistEntry("C:\CapaInstaller.ini", "SectionName", "EntryName", True)

Scripting Guidelines

 

Related functions

INI file functions

  • No labels