Quote:
I have in mind code like,
If SimpleTest Then SimpleAction Else
I don't see how it could be done without introducing ambiguity that breaks existing scripts. For example, the part in blue of the following line could be either part of the window's title or the literal word "Else":
if (x = 0) then WinActivate,
WinTitle Else Run Notepad
Robert Carnegie wrote:
Perhaps I misunderstood how ( ... ) works. Is something like (> ... ) feasible as an extension of that syntax?
That's an interesting idea. Perhaps it can be done with a concise second character, perhaps two open-parentheses instead of one:
Code:
FileAppend,
((
The indentation to the left of this line is ignored.
)
Thanks for the ideas.