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 Changed 12 years ago by AdmiralAlkex
comment:2 Changed 12 years ago by anonymous
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 Changed 12 years ago by Valik
- Resolution set to No Bug
- Status changed from new to closed
The function very clearly states that it returns the default string. No bug. No feature request, the behavior will not be changed.
comment:4 Changed 12 years ago by anonymous
You can use '1' and '0' as replace for True/False.
comment:5 Changed 12 years ago by Zedna
Sorry, previous post is from me/Zedna. I forgot to signature me.
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.
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.