(Funny) How to get SX/B to throw up on itself
John Couture
Posts: 370
(grin)
Sometimes tracking down errors in your code is ellusive.
Take one of your long programs and put a colon after one of your IF statements and see how many statements you have to comment out before the compiler points to the actual error (grin).· It sends you all over the place! This was my offending statement:
IF x3 = $46 THEN DispTempF:
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
John J. Couture
San Diego Miramar College
Sometimes tracking down errors in your code is ellusive.
Take one of your long programs and put a colon after one of your IF statements and see how many statements you have to comment out before the compiler points to the actual error (grin).· It sends you all over the place! This was my offending statement:
IF x3 = $46 THEN DispTempF:
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
John J. Couture
San Diego Miramar College
Comments
I would guess the problem is that SX/B assumes that "IF x3 = $46 THEN DispTempF" is a label because it ends with a colon.
Would you mind posting the whole program (with or without the offending line).
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"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
"Wise men know when they're right. The wisest also·know when they're wrong."
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
John J. Couture
San Diego Miramar College
I'm sure Parallax is listening and will correct this. I guess just a check for a space in a label would be sufficent.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"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
"Wise men know when they're right. The wisest also·know when they're wrong."
·