ahhh yes.
welcome to the world of metavariables.
in this particular case, the variables have the names: CoCMine0 - CoCMineN, where N = the number of mines -1. For example, if you have 52 mines, they will b erepresented (Temporarily, because the init routine destroys the variables) by:
CoCmine0
CoCMine1
CoCMine2
...
CoCMine51
Thanks to 1.85, we have the call function, which makes metavariables much easier.
all you need to do is:
myvariable = call format ["MetaVariableNo%1", variablenumber]
as an aside, over at the CoC, bn880 and I are working on a method to break arrays into rationally-ordered series of variables....