Modify ↓
#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:1 by , 14 years ago
comment:2 by , 14 years ago
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 , 14 years ago
| 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.
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.