Debug problem with character display
PapaDoc65
Posts: 1
I am having a problem with displaying a character that I change in my program using Debug.
I define·several variables to be a Byte and then I assign them either "+" or "-" or "X" or "Y".· When I use the command, "Debug STR ? VariableName" , it returns the value as the first character, but adds a lot of garbage to the output line.· If I output the ASCII value, it is correct.· Why is Debug adding all the garbage to the output?
I define·several variables to be a Byte and then I assign them either "+" or "-" or "X" or "Y".· When I use the command, "Debug STR ? VariableName" , it returns the value as the first character, but adds a lot of garbage to the output line.· If I output the ASCII value, it is correct.· Why is Debug adding all the garbage to the output?
Comments
You are causing the "garbage" to appear by use of the "?" sub-parameter. Try removing it so that all you have is: Debug STR VariableName
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->