Overview
| Artifact ID: | 344ebc638a72b209b8d12d19d1d8f970c8d03fe2 |
|---|---|
| Ticket: | 405084ffffffffffffffffffffffffffffffffff
Incompatibility in "trace" parameters |
| User & Date: | petasis on 2001-03-02 13:42:29 |
Changes
- closedate changed to: "2001-03-02T06:42:29"
- closer changed to: "petasis"
- icomment:
Logged In: YES user_id=92283 As Jeff Hobbs has pointed, "trace variable" has a different, older syntax and is deprecated... > According to the man page, "trace variable" is equivelant to > "trace add variable" ... Correct... > ... and should accept the same parameters, the ones > described in the man page. Buzz! Not correct. I do not see anywhere in the docs that the same params are accepted. It in fact expressly notes in the docs that there is a distinct mapping: These subcommands are deprecated and will likely be removed in a future version of Tcl. They use an older syntax in which array, read, write, unset are replaced by a, r, w and u respectively, and the ops argument is not a list, but simply a string concatenation of the operations, such as rwua. > ways *do not* accept the same arguments, with "trace variable" being more > powerful than "trace add variable". Is this a known bug? 'trace add var' is the newer and more powerful syntax, as noted in the docs.
- login: "petasis"
- mimetype: "text/plain"
- status changed to: "Deleted"
- title changed to: "Incompatibility in "trace" parameters"
- username: "petasis"