Arrays start at 0, so b(1) is actually the second item.
Try b(0) in your example above and dimension the array 'Dim b(1) as byte'.
If you want 2 items use Dim b(2) as byte, then you can use b(0) and b(1).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.