CASE statement for SX/B?
Is there a Case Statement for the SX/B
Right now i can do this in PBasic
anything similar?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
It's Only A Stupid Question If You Have Not Googled It First!!
Right now i can do this in PBasic
SELECT Xaxis
CASE 0 TO 6400
GOSUB EUpQuick
CASE 6401 TO 6500
GOSUB EUp
CASE 6900 TO 6999
GOSUB EDown
CASE >=7000
GOSUB EDownQuick
CASE ELSE
DEBUG CR, " ECenter"
pw = 735
S_Chan = cha
S_Speed = rb
GOSUB SendIt
ENDSELECT
anything similar?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
It's Only A Stupid Question If You Have Not Googled It First!!

Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Meh. Nothing here, move along.
IF Xaxis >= 7000 THEN GOSUB EDownQuick ELSE IF Xaxis >= 6900 THEN GOSUB EDown ELSE IF Xaxis > 6500 THEN DEBUG CR, " ECenter" pw = 735 S_Chan = cha S_Speed = rb GOSUB SendIt ELSE IF Xaxis >= 6401 THEN GOSUB EUp ELSE GOSUB EUpQuick ENDIF ENDIF ENDIF ENDIFBean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module" Now available from Parallax for only $28.95
http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module" Now available from Parallax for only·$49.95
http://www.parallax.com/detail.asp?product_id=30015
Product web site: www.sxvm.com
"Ability may get you to the top, but it takes character to keep you there."
·