Tim: Please read the documentation for READPROFILESTRING as Kyder suggested. READPROFILESTRING can do either of three things depending on parameters provided:
1) Read a list of sections
2) Read a list of keys in a specific section
3) Read the value of a single key in a specific section.

The example I gave you reads all keys in a spoecific section and reformats it into an array. Then you can cycle through the array and read the values.
_________________________
There are two types of vessels, submarines and targets.