Skip to content

HasKey - cIniProcessor

Checks if a key exists in ini data

Type: Function
Return Data Type: Boolean

Parameters

Parameter Type Description
sSection String Section to check
sKey String Key to check

Syntax

Function HasKey String sSection String sKey Returns Boolean

Call Example

Get HasKey sSection sKey to BooleanVariable

Description

Checks if a key exists in ini data.

Note that this works on the data in memory, call ReadFromFile to load an ini file from disk.

Return Value

True if key in the section exists, else False