> BTW the syntax "i not in range(256)" is more conceptual than "i<0 or > i>=256" > and expresses better what we are testing for (as the error message > suggests > too). Why not "if 0 < i < 256:" ? -- Nathan Heagy phone:306.653.4747 fax:306.653.4774 http://www.zu.com