| Code | Description |
|---|---|
| \\ | backslash "\" |
| \a or '' | apostrophe "'" (\a only for AmigaE compatibility) |
| \b | return (ascii 13) |
| \e | escape (ascii 27) |
| \n | linefeed (ascii 10) |
| \q or " | double quote """ (\q only for AmigaE compatibility)|
| \t | tabulator (ascii 9) |
| \v | vertical tabulator (ascii 11) |
| \! | bell (ascii 7) |
| \0 | zero byte (ascii 0), end of string |
| \j# | single character where # is number (0-255) of character you want. |
| \x | extended formating, see below |
| Code | Description |
|---|---|
| \d | decimal number |
| \h | hexadecimal number |
| \c | single character |
| \u | unsigned decimal number |
| \s | string |
| \l | used before \s, \h, \d, \u, means left justified |
| \r | used before \s, \h, \d, \u, means right justified |
| \z | used before \h, \d, \u with field definition (see below) creates leading zeros |
| Extension | Description |
|---|---|
| t | full compilation time (hh:mm:ss) |
| d | full compilation date (yy-mmm-dd) |
| 1d | full compilation date (dd-mmm-yy) |
| 2d | full compilation date (mm-dd-yy) |
| 3d | full compilation date (dd-mm-yy) |
| 4d | full compilation date (dd-mm-yyyy) |
| 5d | full compilation date (dd-mmm-yyyy) |
| s | compilation second |
| m | compilation minute |
| h | compilation hour |
| Dn | compilation day number |
| DN | compilation day number (2 digits) |
| Ds | compilation day short name (like Mon, Tue, ...) |
| DS | compilation day full name (like Monday, Tuesday, ...) |
| Mn | compilation month number |
| MN | compilation month number (2 digits) |
| Ms | compilation month short name (like Jan, Feb, ...) |
| y | compilation year (4 digits) |
| Y | compilation year (2 digits) |
| v | compiler version string |
| V | compiler version without '$VER: ' string |
| c | compiling machine cpu (like MC68LC040) |
| C | shorter compiling machine cpu (like LC040) |
| f | compiling machine fpu (like MC68882 or none) |
| F | shorter compiling machine fpu (like 882) |
'bla' 'Hello world!\n' 'My address:\n'+ 'Amforová 1930\n'+ 'Prague, 15500\n'+ 'Czech Repiblic\n'
PrintF('a+b=\d\n',a+b)
PrintF('file ''\s'' not found.\n',filename)
PrintF('Address is $\z\h[8]\n',adr)
'Date: \xDn.\xMn.\xy' will produce sth like 'Date: 3.10.2001'
'Hello\j10' // is the same as 'Hello\n'
'Test \j12345' // is the same as 'Test {45'
'\j999' // is the same as 'c9'