Another thing also, the "AND" operator -- try to avoid it at all costs.

Code:
if b1 = 100 then
   if b2 = 200 then
      Thank Mr Jackson for these invaluable tips
   end if
end if
is much better than ...

Code:
if b1 = 100 and b2 = 200 then
  do something ...
end if
You might save a few bytes of code space, it'll run faster too.

Can anyone tell me why?

Trent Jackson