Be aware...comparing an array that has been dimmed "as byte" does not correctly compare:
try this as written, the 0's should not print but they do, take off the AS
BYTE from the dim statement and the 0's don't print as expected. The problem
seems to be in the "> 0" comparision differing between a plain dim and and
AS BYTE dim. I knew there was a bug with "as byte" somewhere, just took me a
while to hunt it down
dim a(10) as byte
a(0)=1
a(1)=1
a(2)=1
a(3)=0
a(4)=0
a(5)=1
a(6)=1
a(7)=0
a(8)=1
a(9)=1
a(10)=1
for t = 1 to 10
if a(t) > 0 then print a(t)
next t
do
sync
loop
Zep--