I decided to move my animation code to a separate code module and I'm surprised to learn a code module does not have a Globals sub. I wanted this sub to contain variables that are global to this code module and not accessible from other modules. But it appears I can't do that.
Here is the problem. This code module needs to have a few Maps and Lists that contain Views, and of course I can't use Sub Process_Globals to store Views. So I thought I could use local global storage in the code module. The Views are passed from an Activity to the code module subroutine and are added to the Map/List. But it doesn't look like this is possible since there is no local global storage.
How do I store Lists/Maps in a code module? Any suggestions?
TIA
Widget
Here is the problem. This code module needs to have a few Maps and Lists that contain Views, and of course I can't use Sub Process_Globals to store Views. So I thought I could use local global storage in the code module. The Views are passed from an Activity to the code module subroutine and are added to the Map/List. But it doesn't look like this is possible since there is no local global storage.
How do I store Lists/Maps in a code module? Any suggestions?
TIA
Widget