JCL Help:IniReadInteger

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Reads an integer key from an ini file.


Pascal

 function IniReadInteger(const FileName: string; const Section: string; const Line: string): Integer;


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 0.


Description

IniReadInteger reads a single integer value within the specified section from the specified ini file. If the function fails it returns the default value 0.


See Also

IniReadBool 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