Tanks for the first question....

But the second....portB has 8 pins rb0 to rb7 and I have to define the 4 pins (0 to 3) only to use for output my number. I have, imagine to dfive one variable with those 4 pins and than ....

Can i say ex = portB.low...let's say! and than ex = 2

Thanks again!