Log In  

One-off characters [8 chars of raw binary data] print unnaturally.

Or I may not understand this feature.
I was aware that "\^.00000000" would print nothing.

P#71332 2022-04-17 12:38 ( Edited 2022-04-18 14:05)

The 0 character actually won't produce an empty line. In hex, you'll need to use 00, and if you're using each character as a byte value, you need to use \0. For most of the rest of the characters, my CHR Printer tool https://www.lexaloffle.com/bbs/?pid=84578#p makes outputting them easy, but due to issues with control codes it doesn't currently support chars 0-15.

P#110371 2022-04-17 20:27 ( Edited 2022-04-17 20:28)

Ah, I see, I understand!
The input value needed to be specified as a character code[CHR(0~255)], not as a number from 0~F.

So if I want to output a blank character, I can do so by specifying ?"\^.\0\0\0\0\0\0\0\0".

Thank you! @JadeLombax

P#110404 2022-04-18 14:04

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 23:39:21 | 0.017s | Q:13