 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
interiot
Joined: 06 Nov 2005 Posts: 64
|
Posted: Sun Mar 30, 2008 10:22 pm Post subject: Syntax questions |
|
|
This isn't a wish, but I have two syntax questions:
1. Chris has mentioned that currently there are two distinct forms of syntax for several things (:= vs =, if vs if(), quoted string literals vs unquoted), but that a future version of AutoHotkey will combine these currently distinct forms. Does anyone have examples of how this might work?
2. Does anyone know of any other languages that allow both unquoted and quoted string literals, and both sigiled and unsigiled variables in expressions? I know there are a number of languages that have one or the other, or two options, but I don't know of another that provides all the variations in the same language like AHK does. |
|
| Back to top |
|
 |
Tuncay
Joined: 07 Nov 2006 Posts: 384 Location: Berlin
|
Posted: Sun Mar 30, 2008 11:08 pm Post subject: |
|
|
First off, I think this thread should be removed to General Chat area.
[Moderator's note: Although the main threads relating this topic are in the Wish List thread, since this thread doesn't propose changes or new features, I have moved it to General Chat.]
If I have understand it correctly, only one type of syntax will be remain in v2 release: only expression variant. |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 2558 Location: Australia, Qld
|
Posted: Mon Mar 31, 2008 5:38 am Post subject: |
|
|
Tuncay,
| Chris wrote: | I have no intention of abandoning the command-style syntax (though of course there will be more built-in functions eventually).
| interiot, from what I recall, the plan is to:
- abandon "traditional ifs",
- implement "between", "is", "in", etc. in expressions,
- make all assignments expressions, but introduce a new operator to take the place of '='.
None of this is set in stone, though. There was a document somewhere outlining possible changes (including a few commands which may be removed), but I can't seem to find it.
If you have a lot of time on your hands, you might like to read:
Gathering ideas for AutoHotkey v.2
The source of the above quote is:
AHK Version 2? |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|