JCL Help:IniReadString

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Reads a string key from an ini file.


Pascal

 function IniReadString(const FileName: string; const Section: string; const Line: string): string;


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 an empty string.


Description

IniReadString reads a single string value within the specified section from the specified ini file. If the function fails it returns the default value (empty string).


See Also

IniReadBool IniReadInteger 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