AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

directive to make expression syntax mandatory

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
Magilvia



Joined: 12 Jan 2008
Posts: 1

PostPosted: Sat Jan 12, 2008 11:49 pm    Post subject: directive to make expression syntax mandatory Reply with quote

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
View user's profile Send private message
Lexikos



Joined: 17 Oct 2006
Posts: 2472
Location: Australia, Qld

PostPosted: Sun Jan 13, 2008 6:20 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group