Previous:Text Message Streams Main Index Next:User Defined Macros
Some escape sequences are available to include non-printing control characters in your text. These sequences are similar to those used in string literals in the C programming language. The sequences are:
|
Bell or alarm, |
0x07 |
|
Backspace, |
0x08 |
|
Form feed, |
0x0C |
|
New line (line feed) |
0x0A |
|
Carriage return |
0x0D |
|
Horizontal tab |
0x09 |
|
Vertical tab |
0x0B |
|
Null |
0x00 |
|
Backslash |
0x5C |
|
Single quote |
0x27 |
|
Double quote |
0x22 |
For example:
#debug "This is one line.\nBut this is another"
Depending on what platform you are using, they may not be fully supported for console output. However they will appear in any text file if you re-direct a stream to a file.
Note that most of these control characters only apply in text message directives and #write
directives which write strings They are not implemented for other string usage in POV-Ray such as text objects or file names.
Previous:Text Message Streams Main Index Next:User Defined Macros