Byte variable expected
I declared a variable "ms" as
ms var Byte(1)
and when I debug the program it comes to a line
READ Seg_Map + ms, display(0)
and I get the "Byte variable expected error 11"
ms var Byte(1)
and when I debug the program it comes to a line
READ Seg_Map + ms, display(0)
and I get the "Byte variable expected error 11"
Comments
http://forums.parallax.com/showthread.php?p=597707
I just tried this code and it works with SX/B version 1.51.03 (the latest).
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I know what I know, don't confuse me with the facts...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.hittconsulting.com
·
I had declared my data table Seg_Map as a Byte(3)
commenting out this line eliminated the error.
Sometimes if the supply voltage rises slowly, the SX doesn't start properly. The BOR26 holds the SX in reset until the supply reaches 2.6 volts.
Seg_Map should be a lablel not an array ?
If you post your program I'd be happy to help you more.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I know what I know, don't confuse me with the facts...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.hittconsulting.com
·