Modify ↓
Opened on Jan 7, 2016 at 6:24:07 PM
Closed on Jan 9, 2016 at 9:04:58 AM
#3196 closed Feature Request (Rejected)
Feature request: conditional code in curly braces
| Reported by: | mexykanu | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
Hello,
I've come back to AutoIt after some months in PHP/Javascript and i think it would be awesome if Autoit also allowed the curly brace conditional code syntax.
Autoit syntax:
if $var == 0 then do something else do something else endif
PHP/Javascript syntax
if ($var == 0) {
do something
} else {
do something else
}
Pretty please ?
Attachments (0)
Change History (3)
comment:2 by , on Jan 8, 2016 at 9:40:48 PM
Also, how does adding a bunch of unnecessary braces help you do something that you can't do now? Your braces have only replaced the Then and EndIf statements, and add nothing.
comment:3 by , on Jan 9, 2016 at 9:04:58 AM
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

How would this proposal line-up with the very first line in the Helpfile?
Jos