Modify ↓
Opened on Jun 9, 2012 at 7:22:50 PM
Closed on Jun 10, 2012 at 11:01:52 PM
Last modified on Jun 11, 2012 at 7:55:53 PM
#2217 closed Bug (No Bug)
IniRead + Boolean default.
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.3.8.1 | Severity: | None |
| Keywords: | Cc: |
Description
IniRead($File, $Section, $Key, False)
If the $Key doesn't exist, function returns string False instead of Boolean keyword False.
Attachments (0)
Change History (5)
comment:2 by , on Jun 9, 2012 at 9:10:14 PM
Wait. I write function's parameter False as Boolean, not "False" as string. Function should return the specified value without changing its type.
comment:3 by , on Jun 10, 2012 at 11:01:52 PM
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
The function very clearly states that it returns the default string. No bug. No feature request, the behavior will not be changed.
comment:5 by , on Jun 11, 2012 at 7:55:53 PM
Sorry, previous post is from me/Zedna. I forgot to signature me.
Note:
See TracTickets
for help on using tickets.

That is not a bug, that is a feature request.
And it's not booleans. It's numbers and everything you pass to it.
AutoIt most likely uses GetPrivateProfileString. Look it up on MSDN.