I hope Chris won't do that! Talk about another source of confusion for newbies!
...the confusion IS AHK...every other language uses == in if...JavaScript, C...I want = for assignments...== for equals...& === for "strict equals" where a number 1 & string "1" don't match (for this I want a minimal understanding of types in AHK...like JavaScript)...
a=1 //type=number
b="1" //type=string
if (a==b) //true
if (a===b) //false
Braces should be included in your second one though...
...what do you mean?...like...
if (wow="wee") { msgbox, hi! }
...braces should only be required if there is more than one command linked to the if...
...the single quote char ' could also represent strings.
...yes!...that's the spirit...I want that too!
However I'm not too fond of // for comments...
...I like // for quickie comments or nullifying some code for testing...not having to type /* */ around one line to disable it...
...I already think that the one-true-brace style support was an error...
...you are wrong...OTB is the only way!...you like rigid syntax, ok, don't try to make AHK rigid too!...there are other rigid languages to use...let AHK be...
I see no compelling reason for that...
...again, wrong...single quotes are cute!...
I would like to be able to put function calls on several lines by putting the coma (parameter separator) at the end of the line...
...yes...I would like that too...you probably know this is possible tho...
DllCall("Foo"
,"UInt", bar
,"Str", gah)
...but I do want the line continuation chars to be able to be at the end of the line too (or instead)...it looks better...
DllCall("something",
"Int", 32,
msgbox, "a command name could be a variable..")
...it should be..."if the function call ain't complete yet, eat lines until it is complete"...so without the closing paren of DllCall AHK would look further until it finds it...or in this case it sees the comma on the previous line & keeps adding to the DllCall...
...one must be pretty stupid to start a string with ' and unknowingly end it with ".
...yes!...we can't make the syntax protect idiots from themselves...the syntax needs to be good & flexible & if idiots can't figure it out, then they shouldn't be on a computer...
You know for loops and functions where braces are mandatory...
...ok, what is "second one though"...I think that's where I'm lost...are you saying braces should/shouldn't be mandatory?
Edit: oops sorry for posting before your finished JSLover...
...I was adding a quick edit & didn't take the time to look again cuz "surely no one replied in those 10 secs"...but then you had posted...ugh...
You posted: MonOct 30, 2006 5:20:4
1pm
I edited: MonOct 30, 2006 5:20:4
8pm...7 lousy seconds!...grrr...phpbb needs to never add that message...OR...at least not add it for 30 mins after someone's replied...still not adding it before someone's replied (regardless of time)...the 30 mins should start once there's a reply & it should warn you it's gonna add it...& even then have a checkbox to remove it!!!...