Modify ↓
#43 closed Bug (Fixed)
IniReadSectionNames returning incorrect number of sections (extra blank section)
| Reported by: | lte5000 | Owned by: | |
|---|---|---|---|
| Milestone: | 3.2.11.0 | Component: | AutoIt |
| Version: | 3.2.10.0 | Severity: | |
| Keywords: | Windows 98SE | Cc: |
Description
IniReadSectionNames returns an extra blank section that does not exist in the INI file.
This behavior occurs on Windows 98 SE.
The function returns the correct number of sections on Windows XP SP2.
Example:
FileDelete("test.ini")
IniWrite("test.ini", "section1", "key1", "abc")
$var = IniReadSectionNames("test.ini")
MsgBox(0, "how many sections", $var[0])
For $i = 1 To $var[0]
MsgBox(0, "section #" & $i, $var[$i])
Next
Attachments (0)
Change History (3)
comment:1 by , on Jan 17, 2008 at 12:43:34 PM
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , on Jan 17, 2008 at 12:45:02 PM
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
comment:3 by , on Jan 17, 2008 at 12:45:54 PM
| Milestone: | → 3.2.11.0 |
|---|---|
| Resolution: | → fixed |
| Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.

(In [2829]) Fixed #43: IniReadSectionNames() returning incorrect number of sections under Win9x.