Chapter 5 Customizing Generation with GTL


Escape sequences

Escape sequences are specific characters sequences used for layout of the generated file output.

The following escape sequences can be used inside templates:

Escape sequence Description
\n New line character, creates a new line
\t Tab character, creates a tab
\\ Creates a backslash
\ at end of line Creates a continuation character (ignores the new line)
. at beginning of line Ignores the line
.. at beginning of line Creates a dot character (to generate a macro)
%% Creates a percent character

For more information on escape sequences, see Using new lines in head and tail string.

 


Copyright (C) 2008. Sybase Inc. All rights reserved.