This uses the \xFF format supported by Ruby and Python, among others.
I found this useful with mgl_str_insr when I wanted to refer to characters outside the ASCII region, but within the 1-byte region. For example, I added a few new glyphs to the 8x8 font to replace characters in the now-unused kana sets; this escape format let me refer to it as something like \x81\x82\x83\x84, which was a lot less error-prone than trying to include those bytes literally.
This uses the \xFF format supported by Ruby and Python, among others.
I found this useful with
mgl_str_insr
when I wanted to refer to characters outside the ASCII region, but within the 1-byte region. For example, I added a few new glyphs to the 8x8 font to replace characters in the now-unused kana sets; this escape format let me refer to it as something like\x81\x82\x83\x84
, which was a lot less error-prone than trying to include those bytes literally.