$readini » History » Version 1
Per Amundsen, 08/14/2015 01:36 PM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | *$readini(filename, [np], section, item)* |
||
4 | |||
5 | Returns a single line of text from an INI file. |
||
6 | |||
7 | _See also [[$ini]]._ |
||
8 | |||
9 | *Parameters* |
||
10 | |||
11 | filename - INI file to read from. |
||
12 | [np] - (optional) |
||
13 | <pre> |
||
14 | n - Don't evaluate any identifiers. |
||
15 | p - command | separators are treated as such instead of as plain text. |
||
16 | </pre> |
||
17 | |||
18 | section - The INI section to read from. |
||
19 | item - The INI item to read. |
||
20 | |||
21 | *Example* |
||
22 | |||
23 | <pre> |
||
24 | ; Read $adiircini and retrieve the section 'Messages' and the item 'Timestamp'. |
||
25 | //echo -ag $readini($adiircini, Messages, Timestamp) |
||
26 | </pre> |