although I not certain that I completely 'follow' the whole
procedure (lol) there would a few ways to go about this. it sounds
like a FOR loop isn't what you're looking for since it will execute
'all' of the loops until the condition is satisfied and then move
on in the code block. so i think that what you may need is to store
the values (mc linkage names) within an array (as Strings) and then
track an index variable that is used to access the next element in
the array. if you are uncertain of being able to call 'back' to the
mcContainer clip from d) when the time comes to increment the
variable - you could also use a method on the root to control the
entire operation - call to the method from d) and increment the
variable within the method 'after' the selection from the array has
been made.