Overview
| Artifact ID: | ab58e782697cb9f904cc1a3be4fabedbe4c0ff67 |
|---|---|
| Ticket: | 654927ffffffffffffffffffffffffffffffffff
format %n |
| User & Date: | nobody on 2002-12-17 00:10:47 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
(Greg Beauchesne, [email protected]) This patch adds %n and %N specifiers to [format]. They work like the ones for sprintf(), except you give the name of a variable. %n is for character length, and %N is for byte length (should byte length ever be needed) Ex. format "%08x%n%08x%n" 5 varlen1 10 varlen2 $varlen1 is now 8 and $varlen2 is now 16 format "%s%N" "My string" bytelen ...has nearly the same effect as: set bytelen [string bytelength "My string"] A simple change, but it wasn't in there, or so the manpages told me. Made from tcl8.4.1.
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "16. Commands A-H"
- title changed to: "format %n"
- type changed to: "RFE"