JCL Help:IniReadBool

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Reads a boolean key from an ini file.


Pascal

 function IniReadBool(const FileName: string; const Section: string; const Line: string): Boolean;


Parameters

Parameters Description
const FileName: string The fully qualified filename of the ini file.
const Section: string The section in the ini file from which to read a value
const Line: string The name of the key to read


Return Value

The key within section, default value returned on failure is False.


Description

IniReadBool reads a single boolean value within the specified section from the specified ini file. If the function fails it returns the default value False.


See Also

IniReadInteger IniReadString IniWriteBool IniWriteInteger IniWriteString


About

Unit

JclIniFiles


Donator

John C Molyneux


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page