Project

General

Profile

Actions

$readini » History » Revision 1

Revision 1/3 | Next »
Per Amundsen, 08/14/2015 01:36 PM


Added in 1.9.0

$readini(filename, [np], section, item)

Returns a single line of text from an INI file.

See also $ini.

Parameters

filename - INI file to read from.
[np] - (optional)

n - Don't evaluate any identifiers.
p - command | separators are treated as such instead of as plain text.

section - The INI section to read from.
item - The INI item to read.

Example

; Read $adiircini and retrieve the section 'Messages' and the item 'Timestamp'.
//echo -ag $readini($adiircini, Messages, Timestamp)

Updated by Per Amundsen over 8 years ago · 1 revisions

Also available in: PDF HTML TXT