Would be nice to have "simpler" versions of the EnumKey and EnumValue functions. Functions that didn't require setting-up indexes and multiple reads and while/do loops. Functions that maybe returned an array of values or that actually implemented a collection-like enumerator, so that one can interate over them like a collection. Suggest the name EnumKeys and EnumValues, might look like:

Code:

For Each $Key In EnumKeys("Software")

For Each $Value in EnumValues("Software\"+$Key)

? "Value=" $Value

Next

Next



-Shawn