oh for god sake... wow ...thanks TheNiceOne!
But It was not the indenting that was my issue it was that I did into know FOREACH was a type of loop.
mmmm..... I need to re-read the description of FOREACH in the OBSE docs. Now that I know it is a type of loop the description of that array command may "say" more to me.
Ok, then maybe this can make it a bit clearer:
ForEach TargetRefArray <- ListOfActors Let Target := TargetRefArray["Value"] ... Loop
let i := 0 While i < ar_Size ListOfActors Let Target := ListOfActors[i] ... let i := i + 1 Loop
Here you have two loops that are functionally identical. The inner workings are surely a bit different, and I would guess the former is possibly slightly faster, but they do exactly the same for you - both loops through all elements in ListOfActors and assigns the nth element to Target for each turn in the loop.