Modify ↓
#145 closed Bug (Fixed)
IniWrite() and whitespaces
| Reported by: | Lagoon | Owned by: | Valik |
|---|---|---|---|
| Milestone: | 3.2.11.2 | Component: | AutoIt |
| Version: | 3.2.10.0 | Severity: | |
| Keywords: | Cc: |
Description
The IniWrite function requires two pairs of quotes, if any white spaces are to be included in the value argument. Is this expected functionality? If it is, perhaps it could be mentioned in the documentation.
const $FILE = "iniTest.ini" const $SECTION = "test" IniWrite($FILE, $SECTION, "key1", '" !"') ; In my opinion the second pair of quotes shouldn't really be necessary. $var = "whitespace:" & IniRead($FILE, $SECTION, "key1", "error") MsgBox(262144,'Debug line ~' & @ScriptLineNumber,'Selection:' & @lf & '$var' & @lf & @lf & 'Return:' & @lf & $var) ;### Debug MSGBOX FileDelete($FILE)
Attachments (0)
Change History (2)
comment:1 by , 18 years ago
| Milestone: | → 3.2.11.2 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Fixed in version: 3.2.11.2