25.07.2014 Views

VDM-10 Language Manual

VDM-10 Language Manual

VDM-10 Language Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix B. Lexical Specification<br />

Sequence<br />

Interpretation<br />

‘\\’ U+005C (backslash character)<br />

‘\r’<br />

U+000D (return character)<br />

‘\n’<br />

U+000A (newline character)<br />

‘\t’<br />

U+0009 (tab character)<br />

‘\f’<br />

U+000C (formfeed character)<br />

‘\e’<br />

U+001B (escape character)<br />

‘\a’<br />

U+0007 (alarm (bell))<br />

‘\x’ hexadecimal digit, hexadecimal digit U+00xy (hex representation of character<br />

(e.g. \x41 is ‘A’))<br />

‘\u’ hexadecimal digit, hexadecimal digit, U+abcd (hex representation of character<br />

hexadecimal digit, hexadecimal digit (e.g. \u0041 is ‘A’))<br />

‘\c’ character<br />

U+00nn (control character)<br />

(e.g. \cA ≡ \x01)<br />

‘\’ octal digit, octal digit, octal digit U+00nn (octal representation of character)<br />

‘\"’ U+0022 (double quote)<br />

‘\’’ U+0027 (apostrophe)<br />

Table B.2: Escape sequences<br />

203

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!