Literal characters may also be specified using their numeric code value. The general escape sequence \ooo (i.e., a backslash followed by up to three octal digits) is used for this purpose. For example (assuming ASCII):
‘\12’ // newline (decimal code = 10)
‘\11’ // horizontal tab (decimal code = 9)
‘\101’ // ‘A’ (decimal code = 65)
” // null (decimal code = 0)

Advertisements