Heh Nick... Perhaps to make deletion/setting of variables a bit easier when in a collection, you could add the groups function to them too and the commands:
SetVariableInGroup <name>, <group>, <value>
DeleteVariableGroup <group>
FillVariableGroup <group>, <value>
GetVariableInGroup <name>, <group>
This would simplify things a lot.
Hmm. Maybe also:
GetVariableGroupArray <group>
GetVariableGroupNames <group>
Since that would allow someone to quickly create arrays of the contents and step through them easilly. Perhaps adding a boolean option that can either return them direct from the hash, or sort them by name from lowest to highest would be useful to have too.
SetVariableInGroup <name>, <group>, <value>
DeleteVariableGroup <group>
FillVariableGroup <group>, <value>
GetVariableInGroup <name>, <group>
This would simplify things a lot.
Hmm. Maybe also:
GetVariableGroupArray <group>
GetVariableGroupNames <group>
Since that would allow someone to quickly create arrays of the contents and step through them easilly. Perhaps adding a boolean option that can either return them direct from the hash, or sort them by name from lowest to highest would be useful to have too.