lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Paul Hudson wrote:
Or an even number of hex digits (to be stored into the string in the
same order).

"\x0AAA". Is that a line feed followed by two As, or a linefeed followed by
a byte with value 0xAA?

I think it should be exactly two hex digits.


That said, how exactly do you encode the characters "12" after, say, an embedded 1 with the current decimal format? Clearly "\112" doesn't do the trick :)


Ps: 1st post btw. Hi List :)