IdentifiersΒΆ

An identifier is used to give an object a unique name so it can be referenced. An identifier can be any sequence of letters, digits, dollar signs $, and the underscore _ characters. The first character of an identifier must be a letter or an underscore; it cannot be a digit or $.

Examples:

clk
out_p
bus2
n$12

Escaped identifiers start with the backslash character \ and end with white space (space, tab or newline). They provide a means of including any of the printable ASCII characters in an identifier. Neither the leading backslash character nor the terminating white space is considered to be part of the identifier. Therefore, an escaped identifier \out is treated the same as a non-escaped identifier out as long as out is not a keyword.

Examples:

\out+
\/x1/n1
\\x1\n1
\{a,b}
\V(p,n)