• News:
    • 0.18 few new extensions added: '\x1d', '\x2d', '\x3d', '\x4d' and '\x5d'
      idea by Michel 'DMX' Bagmeijer


  • Special characters:
    double quote """ (\q only for AmigaE compatibility)
    Code
    Description
    \\backslash "\"
    \a or ''apostrophe "'" (\a only for AmigaE compatibility)
    \breturn (ascii 13)
    \eescape (ascii 27)
    \nlinefeed (ascii 10)
    \q or "
    \ttabulator (ascii 9)
    \vvertical tabulator (ascii 11)
    \!bell (ascii 7)
    \0zero byte (ascii 0), end of string
    \%or%%this makes a single '%' character
    \j#single character where # is number (0-255) of character you want.
    \xextended formating, see below


  • Formating characters:
    Code
    Description
    \ddecimal number
    \hhexadecimal number
    \csingle character
    \uunsigned decimal number
    \sstring
    \lused before \s, \h, \d, \u, means left justified
    \rused before \s, \h, \d, \u, means right justified
    \zused before \h, \d, \u with field definition (see below) creates leading zeros


    You can ofcourse use c-like string format, but the string must start and stop with ' (apostrophe), not with " (double quote)

  • Field definition in strings (usable only after \s, \d, \h and \u):
    [#] - where # is number of characters to be used for a formating character

  • Extended formating:
    Each extension starts with \x, this must be followed by one of following characters:
    Extension
    Description
    tfull compilation time (hh:mm:ss)
    dfull compilation date (yy-mmm-dd)
    1dfull compilation date (dd-mmm-yy)
    2dfull compilation date (mm-dd-yy)
    3dfull compilation date (dd-mm-yy)
    4dfull compilation date (dd-mm-yyyy)
    5dfull compilation date (dd-mmm-yyyy)
    scompilation second
    mcompilation minute
    hcompilation hour
    Dncompilation day number
    DNcompilation day number (2 digits)
    Dscompilation day short name (like Mon, Tue, ...)
    DScompilation day full name (like Monday, Tuesday, ...)
    Mncompilation month number
    MNcompilation month number (2 digits)
    Mscompilation month short name (like Jan, Feb, ...)
    MScompilation month name (like January, February, ...)
    ycompilation year (4 digits)
    Ycompilation year (2 digits)
    vcompiler version string
    Vcompiler version without '$VER: ' string
    ccompiling machine cpu (like MC68LC040)
    Cshorter compiling machine cpu (like LC040)
    fcompiling machine fpu (like MC68882 or none)
    Fshorter compiling machine fpu (like 882)


  • Multiple strings:
    Single string starts with one apostrophe and ends also with one apostrophe. Multiple strings are used in the same way as single strings, but You can separate them by single + (plus) operator. This allows You to write longer strings to more lines. Single string length is limited to 1024 characters. Multiple string can contain arbitrary count of single strings.

  • Examples of single and multiple strings:
      'bla'
      'Hello world!\n'
    
      'My address:\n'+
      'Amforová 1930\n'+
      'Prague, 15500\n'+
      'Czech Repiblic\n'
    
  • Examples of formatting strings (use them with PrintF(), StringF() and similar functions):
      PrintF('a+b=\d\n',a+b)
      PrintF('file ''\s'' not found.\n',filename)
      PrintF('Address is $\z\h[8]\n',adr)
    

  • Examples of extended formatting strings:
      'Date: \xDn.\xMn.\xy' will produce sth like 'Date: 3.10.2001'
    

  • Examples of \jx using:
      'Hello\j10'           // is the same as 'Hello\n'
      'Test \j12345'        // is the same as 'Test {45'
      '\j999'               // is the same as 'c9'