.
D 2026-10-12T07:52:29.096
L branch/tip-757
N text/x-markdown
P a7fde62c23cfdb0d9a43bfa8f3f9199ce0e39ee57be8469aa4e1fdc69894469b
U dkf
W 679
# TIP 757: Functions for Generating a Result String
The aim is to reduce the amount of visual noise from `Tcl_ObjPrintf()` calls when generating error messages.
Adds:
* void **Tcl_PrintResult**(Tcl_Interp \*_interp_, const char \*_format_, ...);
* void **Tcl_AppendPrintResult**(Tcl_Interp \*_interp_, const char \*_format_, ...);
* void **Tcl_AppendPrintToErrorInfo**(Tcl_Interp \*_interp_, const char \*_format_, ...);
Semantics are intended to be obvious.
## Derived experiments
* [tip-757-obj-special](https://core.tcl-lang.org/tcl/timeline?r=tip-757-obj-special)
* [tip-757-obj-special-alt](https://core.tcl-lang.org/tcl/timeline?r=tip-757-obj-special-alt)
Z fd2f4e391d15359df7532222407b850a