Minor SX-Key Bug
Amit
Posts: 27
I'm running the SX-Key v3.2 on XP Pro SP2 and I found a minor bug. It seems that accidentally declaring a variable twice causes the program to crash. For example I had this code:
and the repetition of temp caused the SX-Key program to crash. I don't know if this was already known but I just wanted to make sure you guys were aware of the bug.
-Amit
temp var byte 'A2D 2 Variables A2D2 var byte(7) BStrainR var A2D2(0) VStrain1 var A2D2(1) HStrain2 var A2D2(2) temp var A2D2(3) VStrain2 var A2D2(4) HStrain1 var A2D2(5) BstrainL var A2D2(6)
and the repetition of temp caused the SX-Key program to crash. I don't know if this was already known but I just wanted to make sure you guys were aware of the bug.
-Amit
Comments
What version of the SX/B compiler are you using ?
I tried it on 1.51.03 (the latest release) and I get "DUPLICATE VARIABLE NAME" error on the 2nd "temp" defination.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
Stuff I'm selling on ebay http://search.ebay.com/_W0QQsassZhittconsultingQQhtZ-1
"USA Today has come out with a new survey - apparently, three out of every four people make up 75% of the population." - David Letterman