Hi all, does Xojo have this sort of global variable assigning?
Type, End Type, & Global “” As “”?
Example in VB6 Code:
Name As String 'Name of unit
Icon As Integer 'Icon of unit
List_Owned(50) As Boolean 'All the lists owned by the unit
Global Super_Unit(300) As Unit_Type 'Collection of AI bots
Is there a global array, assigning, equivalent in Xojo? The above is from a VB6 module.
I’m having trouble finding stuff in the forum in regards to this as the ‘Type’ function refers to different things.
Before anyone screeeees ‘global variable! away array! away!’, don’t stress. I know what I’m doing.
Thanks for your time.