That's a bad idea, sub is a reserved word.
Cheers Rolf
PS: Je suis Charlie!
In reply to Re: while loop break when sub call by LanX in thread while loop break when sub call by papillon