in reply to Input Output Question

One way to do it would be to set a flag as the lines come across that match the name. Once you come to the next iteration, if that flag is true, grab the value you need and reset the flag to false.