> oops, I forgot to add the s = 1 and s=0 lines to the example code i > posted...
OK, To save us guessing, why don't you post it with the s=1/0 and also the actual output pattern you get? Seeing the error is a very powerful technique for guessing what may be at fault. A second hand description is never as precise. Alan G _______________________________________________ Tutor maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/tutor
