I could go for some mysterious coding stories told around the fire..... the only mystery is why my test runs last night did not find it at all, as they were failing tonight.... the mystery deepens
You are the black racer.Sorry, but Beta 6 has a new bug that is completely detrimental to anything usingargument_count
. Case in point:
This is a deal-breaker for at least 3 of my libraries. There is no way I would let this build out into stable, when something this basic isn't working.GML:function argumentCount() { return argument_count; } show_message_async(argumentCount()); //Shows 1???
Update: The ticket number is 185262.
Thank you for the quick fix. I have run beta 7 against the test suite of all 9 of my major offerings, and they are all passing now on Windows, UWP, HTML5, and Android.I am just releasing a new Beta tonight that should (fingers crossed) fix the argument_count problem, apologies to everyone.
Russell
Where I can turn that extended syntax? I can't find it either under "Scripts" nor under "Languages / GML".You can also turn on the extended syntax help in Preferences and add your argument defaults into your JSDoc info for the function