Modify ↓
Opened 17 years ago
Closed 17 years ago
#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 Changed 17 years ago by jpm
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 17 years ago by anonymous
- Resolution fixed deleted
- Status changed from closed to reopened
comment:3 Changed 17 years ago by Jpm
- Milestone set to 3.2.11.0
- Resolution set to fixed
- Status changed from reopened to closed
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Note: See
TracTickets for help on using
tickets.
(In [2829]) Fixed #43: IniReadSectionNames() returning incorrect number of sections under Win9x.