[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: backslash
- From: Markus Huber <pulse@...>
- Date: Mon, 16 Aug 2004 12:28:28 +0200 (BST)
Is Lua's backslash behaviour future-proof? I don't think so.
print('\x') --> x enhance the Lua escape sequences with an \x
in the future possible corrupts existing code
print('\x') --> \x this would be a little bit better but also
not future-proof
print('\x') --> print nothing is the solution I think
- the programmer/user can see the effect today
and simply replace the \x with an x
- Lua can implement further escape-sequences
in the future without corrupt existing programs
--
Markus