View Single Post
  #1   Spotlight this post!  
Unread 26-01-2003, 03:59
PBoss PBoss is offline
Registered User
#1212
 
Join Date: Jan 2003
Location: Nowhere
Posts: 9
PBoss is an unknown quantity at this point
switches in order

Here is a piece of code in PBasic 2.5
IF p1_sw_top=1 AND p2_sw_top=1 then
p1_y=200

This means that at any given time, if p1 switch and p2 switch are pressed together p1_y=200, but here is my question:

Is there a way that you can program so that the switches will have to be pressed in order- first p1 switch and then p2 switch or vice versa- then only p1_y=200???