So I guess the question is, how do you use a variable on a port?
Try this way, it will compile and work as well.

for j=0 to 7
portb0.[j]=1
pause 100
portb0.[j]=0
next j

Cheers

Al.