DEBUG variations
agentile
Posts: 101
Does anyone know how to modify the DEBUG command to change the number of digits displayed.· The manual says for binary to use
DEBUG BIN{1..16}
If I use the brackets {}, I get an error, if I don't use them I get an error.· I am trying to write a variable value to the screen using binary 16 digits.· Let's just say that the value is X.· What is the code which will put 16 digits of X onto the screen?
thanks
AG
DEBUG BIN{1..16}
If I use the brackets {}, I get an error, if I don't use them I get an error.· I am trying to write a variable value to the screen using binary 16 digits.· Let's just say that the value is X.· What is the code which will put 16 digits of X onto the screen?
thanks
AG
Comments
DEBUG BIN idx
... then the number of actual digits to display the value of idx will be used. What you're asking for is:
DEBUG BIN16 idx
If idx has a value of 1, you'll get this:
0000000000000001
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
·Boy, I'll bet I tried that 4 times, and I must have had a spelling error in it, because it wouldn't work.· I've got it now.· thanks.
AG