New functionality for variables.

Posted by Shadowfyr on Thu 13 May 2004 09:23 PM — 2 posts, 7,768 views.

USA #0
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.
Australia Forum Administrator #1
Hmmm - I'll think about that.