Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Bolt on November 17, 2022, 10:10:19 AM
-
Is there a way to format the STRPRINT to print in "Quoted" view like the DataView option? I'd like to dump a serial stream to FILELOG, but would like the ASCII characters printed as "$0D$0Aabcdefg" for example.
-
Sorry, no.
There are text editors that support displaying "binary" data in addition to ASCII form.
You could write a subroutine to do it and dump it to a UNSIGNED BYTE, then do a write that back to a different STRING using STRPUTB