Hello to the team,
I have a sequence of bytes, representing text characters, stored in the ScratchPad-Ram.
Example: (71,97,114,97,103,101) ----> "Garage"
So I would "just" display them on the terminal (Sertxd ...)
1) I try this but I have a syntax error because the bintoAscii command does not seem to be used here.
For ptr = 1 to 6 'indexing the ScratchPad pointer. (The text to display starts at ptr = 1)
Sertxd (bintoAscii (@ptrinc)) '---> Syntax Error!
Next ptr
In fact, it would take a trick of command like “Bin to Character”
2) Is it possible to know the number of bytes present in this ScratchPad? (To replace the value 6 by the number of characters present to be displayed)
3) Is there a command to erase the ScratchPad?
Thank you for your help.
I have a sequence of bytes, representing text characters, stored in the ScratchPad-Ram.
Example: (71,97,114,97,103,101) ----> "Garage"
So I would "just" display them on the terminal (Sertxd ...)
1) I try this but I have a syntax error because the bintoAscii command does not seem to be used here.
For ptr = 1 to 6 'indexing the ScratchPad pointer. (The text to display starts at ptr = 1)
Sertxd (bintoAscii (@ptrinc)) '---> Syntax Error!
Next ptr
In fact, it would take a trick of command like “Bin to Character”
2) Is it possible to know the number of bytes present in this ScratchPad? (To replace the value 6 by the number of characters present to be displayed)
3) Is there a command to erase the ScratchPad?
Thank you for your help.