| View previous topic :: View next topic |
| Author |
Message |
Magilvia
Joined: 12 Jan 2008 Posts: 1
|
Posted: Sat Jan 12, 2008 11:49 pm Post subject: directive to make expression syntax mandatory |
|
|
I write this in frustration for the mixing of what is called "traditional" and "expression" syntax which is really confusing. I'm not always able to remember when variable must be enclosed in % and string in ". This situation also leads to stupid bugs which need long time to debug.
So my request is to introduce a new optional directive which removes support to traditional syntax, forcing the use of "" for all strings and removing the need of %%
This would made autohotkey script more simple to write and would reduce bugs.
Anyway autohotkey is brilliant! Thank you very much for this freeware! |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 2472 Location: Australia, Qld
|
Posted: Sun Jan 13, 2008 6:20 am Post subject: |
|
|
http://www.autohotkey.com/changelog/PendingChanges.htm
| Quote: | AutoHotkey version 2, which will sacrifice some backward compatibility to eliminate confusing aspects of the syntax such as having two assignment operators (= and :=) and two types of IF-statements.
| I think the plan is to eliminate "traditional" assignment and if, possibly with a new operator (like <<) in place of =. |
|
| Back to top |
|
 |
|