I think the newer versions of AppGameKit recognize global scoping without requiring the global declaration in each function.
Some languages do and some don't. In Perl and C++, if something is declared outside of a function, it is automatically global and available to all functions (unless they declare a local variable of the same name). In PHP, you must use the 'global' statement in all functions where you want the variable to be global. Fortran worked the same way.
Different flavors of Basic (which is what Tier 1 is) go either way.
I did not look closely enough at Ranietz's post and your response indicating that it worked.
I think it was a case of the parser not quite working as expected with the global declaration and assignment on the same line. There have been some issues with that type of thing off and on.
While I have been programming in lots of languages and platforms for more than 30 years, I don't claim to be an expert in anything. Things change and everyone can always learn something new.
The last time I was working with AppGameKit Tier 1 was version 10819.
I have only recently been able to get back to AppGameKit (new job in Anchorage, Alaska) and have not played with the Tier 1 side of it at all. Given my limited time, I was more concerned with making sure that my WIP Tier 2 project still worked (and it does).
Now that we are fairly well settled in our new home and such, I hope to have more time for this forum.
Cheers,
Ancient Lady