Quote Originally Posted by power_speed View Post
W0 var word
highin var PORTB 'for input of the inputs pins
PEEK PORTB, W0 'to take a look at port b and see if
'if any inputs are high.

Here are some of the errors I am getting.

ERROR Line 12: ':' or '=' Expected (Token 'var') (Security.pbc)
ERROR Line 13: ':' or '=' Expected (Token 'var') (Security.pbc)
ERROR Line 15: Variable or Constant Expected (Token 'PORTB') (Security.pbc)
ERROR Line 15: End of Line or ':' Expected (Token ',') (Security.pbc)

So far this is as far as I have gotten. I am confident that If I can solve these errors I will be better off than I was before.
Are you using PicBasicPro or PicBasic? Where did you buy it from?

And I suggest you start off with the standard Blinky LED project if you're just getting into PBP. Get that done and you'll be a lot better off...