With test.ini=
Returns:[test]
1=1
2=2
[test2]
1|2||
And not 1|2 as expected.
--Vexix
Moderator: MacroQuest Developers
Returns:[test]
1=1
2=2
[test2]
Note the samples... It works as it always has, just not as you expected, probably. Use a tokenizer or arg parser to get your sections extracted from an ${Ini[MyFile.ini]} and set "|" as the separator character. Stop if you hit a NULL :)$ini ("ini filename" [,"keyname"[,"valuename"]])
Retrieves information from an ini file of name "ini filename"
Example:
sample.ini contains:
[KeyOne]
value1=foo
value2=bar
[KeyTwo]
Value3=foobar
$ini(sample.ini,KeyOne,value1) returns "foo"
$ini(sample.ini,KeyOne) returns "value1|value2||"
$ini(sample.ini) returns "KeyOne|KeyTwo||"
To make people post false bug reports of course!Vexix wrote:Ah. Working as intended, eh?
Huh. Wonder what the intent behind that was? :roll:
--Vexix