>This is exactly what you asked for. The number 257 has >hex representation 0x0101. Your are loading 01 into the lower >loop counter, and 01 into the higher one. Nested loops >execute the number of times which is the product of the two >loop counts: 01 x 01 = 01. So, if I put 0x0102, it should loop two times, right? Wrong! It will still loop once because of the bug in the outer loop. --Brendan -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body