[REBOL] Re: escaping characters?
From: rebol665::ifrance::com at: 10-Mar-2002 19:58
Hi,
Like C, Rebol has some "escape characters" such as #"^/" for newline. Each
escape character is prefixed by a caret ^, so the first needed escape
sequence is #"^^" to insert a real caret in a string.
#"^^" to insert a caret in a string
#"^"" to insert a double quote in a string
The most usefull characters have a mnemonic notation.
#"^(null) or "#"^@" for the null character
#"^(tab)" or #"^-" for tabulation
#"^(back)" or #"^H" for backspace
#"^(line)" or #"^/" for newline
#"^(page)" or #"^L" for newpage
#"^(esc)" or #"^[" for escape
#"^(del)" or #"^~" for delete
With the same notation and hexadecimal values we can produce any character.
#"^(00)"
...
#"^(FF)"
Patrick