TIniFile.ValueExists

function ValueExists(const Section, Ident: String): Boolean Section: Section name Ident: Property name (key)

Description
This procedure returns TRUE if a key exists and FALSE otherwise

Example
example.ini in soldatserver's root folder: actual script code: