\ (Escape)

Causes the following character to be treated literally, or as a hex code in a character string; indicates continuation of a command on the subsequent line.

Syntax #1

Causes the character that follows it in a string to be treated literally.

\char

Parameters

char

any single character that is to be treated literally in a character string

Syntax #2

Causes certain characters that follow it in a string to be treated as hexadecimal code.

\char1char2

Parameters

char1

either digits from 0 to 9, or letters from A (a) to F ( f), that together comprise a hexadecimal character code

char2

either digits from 0 to 9, or letters from A (a) to F ( f), that together comprise a hexadecimal character code

Syntax #3

Indicates the continuation of a command onto a subsequent line.

commandstart « \
  remainder »

Parameters

commandstart

any portion, from the beginning, of one command

remainder

the remaining portion(s) of the same command

Comments

In a character string, the escape operator causes the next character to be treated literally or as a hex code. Outside of a character string, it indicates that a command continues on the next line.

Example

"This is a quote (\"); this is a backslash (\\)"
output "\0F"
let x = 10\
    y = 5\
    z = 2

 

Related Topics