lua-users home
lua-l archive

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

> > I would have expected a 13 in place of the second 10.  Any ideas?
> > I am using Lua 5.1.4 on linux.  Thanx!
> It is deliberate, see llex.c lines 257-263. I cannot find any mention
> in the manual ( assuming it would be in
> mauro

Long strings should be used for text. If you want to embedded control
characters (anything that needs "a hexdump of the code to clarify"),
you should use a regular string with escapes. We will clarify this
in the manual (without an hexdump ;).

-- Roberto