Using a global variable as the tested condition in a for loop

Can you post your code?

[edit]
deleted rest of reply, cus I was wro, wroooo, wrooooooo, damnit, not right! :smiley:
Thanks AWOL
[/edit]