If you have several nested loops, put the one you want out of (and everything within) into a new function, and use "return" to get out. It will probably be clearer to the reader, too. Dave Decot hpda!decot