Enumerate global variables?

 
Hello,

I see there is a GlobalVariablesTotal() function, but I can't see a way to enumerate them.

Is this possible, where "GVars[i]" is an array of the names of the global variables?:

string gvarName;
for(int i=1;i<=GlobalVariablesTotal();i++)
     {
     gvarName=GVars[i];  // get the name of the global variable in position [i] in the list of global variables
     if(StringFind(gvarName, "myGVarPrefix", 0)>0)   // this is one of the global variables I'm looking for
          {
          // do something with it here
          }
     }



So, is there something that does what GVars[] does in my example?

Thank you,

Christian

 
Geeze! Must have been a late night last night. Can't believe I missed that one!

Thanks Slawa :)