This is not necessarily the current version of this TIP.
|Title:||Embedder Access to Startup Scripts of *_Main()|
|Version:||$Revision: 1.2 $|
|Author:||Don Porter <dgp at users dot sf dot net>|
|Created:||Wednesday, 22 October 2008|
|Keywords:||Tcl, Tk, tclsh, wish|
This TIP proposes to make public the routines that get and set the startup script file that Tcl_Main or Tk_Main evaluate in their non-interactive modes.
When support for the -encoding option was added to tclsh and wish TIP #137, two new internal routines were added to Tcl:
Tcl_Obj *Tcl_GetStartupScript(const char **encodingNamePtr)
void Tcl_SetStartupScript(Tcl_Obj *pathPtr, const char *encodingName)
These routines (or other weaker alternative internal routines) are used by