|
Some examples tcl/tk codes Man of Bwidget Man of blt mkwidget screenshots TkOgl Video Demo real. |
chars (null padding) | c | 8-bit int | f | float | Achars (space padding) | s | 16-bit int (little) | d | double | bbinary (low-to-high) | S | 16-bit int (big) | x | nulls | Bbinary (high-to-low) | i | 32-bit int (little) | X | backspace | hhex (low-to-high) | I | 32-bit int (big) | @ | absolute position | Hhex (high-to-low) |
chars (no stripping) | A | chars (stripping) | x | skip forward |
signed decimal | X | unsigned HEX | E | float (0E0) | uunsigned decimal | c | int to char | g | auto float (f or e) | isigned decimal | s | string | G | auto float (f or E) | ounsigned octal | f | float (fixed) | % | plain \% | xunsigned hex | e | float (0e0) |
left-justified | 0 | zero padding | # | alternate output | +always signed | space | space padding |
decimal | e | float | s | string (non-whitespace) | ooctal | f | float | [chars] | chars in given range | xhex | g | float | [${}^wedge$chars] | chars not in given range | cchar to int |