Quote Originally Posted by Dennis View Post
Joe ..

Did you mean this URL ?
http://www.picbasic.co.uk/forum/showthread.php?t=5695
Yes I have been checking it out too that one out too.
There's also this one
http://www.picbasic.co.uk/forum/show...ight=door+lock
and this one
http://www.picbasic.co.uk/forum/show...ght=calculator

Kind regards
Dennis
Hi Dennis,
Yep, the first one, second page, where Lloyd posted the finished code he paid Mr_E to write. Since I do not know your exact plan here I thought you might discover how to handle the arrays and use the numbers. Also dunno why you use byte var hassel instead of using a word simply use something like
Code:
if tempx >999 then tempx = 999
or instead of 999 you could cause the routine to jump to a subroutine that handles errors or make 999 into a zero so it works to simply overflow.