Excellent, remove it.lexikos wrote:I had planned to make a decision on whether to remove it or add same-line actions for other control flow statements (where possible). I was most likely going to decide to remove it, ...
[Wish] ElseIf
[Wish] ElseIf
Related: a080: same-line if parsing error
Re: [Wish] ElseIf
So your wish is to disallow same-line actions for else, try and finally, but instead add an elseif statement?
No thanks.
The only reason I gave in the "related" post does not apply to else, try or finally: they do not allow a delimiting comma in v2.
No thanks.
The only reason I gave in the "related" post does not apply to else, try or finally: they do not allow a delimiting comma in v2.
Re: [Wish] ElseIf
1.elseif - will be step back in autohotkey syntax evolution - it is nothing more than else if.
2.Removing same-line actions - made script longer but more readable
2.Removing same-line actions - made script longer but more readable
Code: Select all
if isFunc("myFunc"), myFunc() ;one line
if isFunc("myFunc") ;one
myFunc() ;two lines
AHKv2.0 alpha forever.
Return to “AutoHotkey Development”
Who is online
Users browsing this forum: No registered users and 47 guests