Actions
$readini » History » Revision 2
« Previous |
Revision 2/3
(diff)
| Next »
Per Amundsen, 02/23/2023 07:25 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
Parameter | Description |
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 almost 2 years ago · 2 revisions