in reply to while loop break when sub call
That's a bad idea, sub is a reserved word.
Cheers Rolf
PS: Je suis Charlie!
no, I did not do that mistake, it was just for the example. Should have named it to something else anyway