11-08-2024, 05:54 AM
(11-07-2024, 08:04 PM)doppler Wrote: Sort of what I expected. Better to ask before tripping over a landmine of problems. I have fallen for the undeclared shared variable, only to see it as a local to the sub only. Wondering why nothing happen after the sub call.It's unrelated to the Shared/local discussion, but this problem can be solved by using `Option _Explicit`. It forces you to declare every variable, that way if you didn't declare a variable shared but also didn't declare it locally then you'll get an error at build time.
Thanks all around.

