|
2006-11-23
| ||
| 02:19 | • Closed ticket [572392ffff]: Tcl_VarSetResult() plus 7 other changes artifact: 8ea6dc24cc user: dgp | |
|
2006-07-12
| ||
| 02:52 | • Ticket [572392ffff]: 4 changes artifact: e5f11e6c4b user: dgp | |
|
2006-01-27
| ||
| 01:14 | • Ticket [572392ffff]: 4 changes artifact: 768acb941b user: dgp | |
|
2005-09-07
| ||
| 08:40 | • Ticket [572392ffff]: 1 change artifact: 41a5110b13 user: dgp | |
|
2004-11-16
| ||
| 11:20 | • Ticket [572392ffff]: 4 changes artifact: 9db60703a3 user: robert_seeger | |
|
2003-02-23
| ||
| 00:23 | • Ticket [572392ffff]: 2 changes artifact: 5d3faf7001 user: dkf | |
|
2002-06-24
| ||
| 17:25 | • Ticket [572392ffff]: 4 changes artifact: e1fc4a3466 user: dkf | |
|
2002-06-22
| ||
| 03:20 | • New ticket [572392ffff]. artifact: 8f9938d093 user: muonics | |
Tcl_VarSetResult()
Closed / Out of Date572392ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 20 years ago
Descriptionplain2002-06-22 03:20:21
It would simplify composite error message generation a bit if there were an exposed analog to Tcl_AppendResult () that first reset whatever result was currently in the intepreter (if any). e.g.: Tcl_VarSetResult(interp, "The value '", pName, "' is an invalid name for a record of this type.", NULL); versus: Tcl_ResetResult(); Tcl_AppendResult(interp, "The value '", pName, "' is an invalid name for a record of this type.", NULL); or: Tcl_SetResult(interp, "The value '", TCL_STATIC); Tcl_AppendResult(interp, pName, "' is an invalid name for a record of this type.", NULL); or implementing a wrapper like Tcl_VarSetResult() in each application where such error messages are being generated.
dkfplain2002-06-24 17:25:09
Logged In: YES user_id=79902 While we're at it, let's have one that behaves like sprintf(); there's all sorts of places where that'd be useful!
dkf Ticket [572392ffff]: 2 changes
[History diff]2003-02-23 00:23:27
robert_seegerplain2004-11-16 11:20:18
Logged In: YES user_id=1081558 See http://wiki.tcl.tk/12975 for a sprintf-type command to create a Tcl_Obj string
dgp Ticket [572392ffff]: 1 change
[History diff]2005-09-07 08:40:10
dgpplain2006-01-27 01:14:42
Logged In: YES user_id=80530 Take note of the internal TclObjPrintf() function in Tcl 8.5. With good review, it could be made public.
dgpplain2006-07-12 02:52:09
Logged In: YES user_id=80530 See TIP 270
dgpplain2006-11-23 02:19:52
Logged In: YES user_id=80530 Originator: NO I think TIP 270 essentially satisfied this.
Log in (anonymous is fine) to add a comment.