Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 71735e31691b5815fa111bb52fd708fb6989d72566ff992337b8682dee314bd3
Ticket: 9c258a841a03860f24e52283b650c7823da2e8e6
format - undocumented type specifiers + possible bugs
User & Date: jan.nijtmans on 2024-05-29 07:58:52
Changes

  1. icomment:
    > Are j, z, t supposed to match C?
    
    Those specifiers are not documented for "format" on purpose: They are meant to be used from C (Tcl_ObjPrintf), not at script level. So, if someone uses it from a Tcl script, any behavior is fine, as long as Tcl_ObjPrintf() continues working as it does now.
    
    > Is format %d supposed to match int() ?
    
    No, see TIP #514
    
    > Is int() supposed to match tcl_platform(wordSize)?
    
    No, see TIP #514
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"