Tcl_Init()

find and source initialization script 

Tcl Library Procedures


SYNOPSIS

#include <tcl.h>

int Tcl_Init(interp)


ARGUMENTS

Tcl_Interp *interp (in) 

Interpreter to initialize.


DESCRIPTION

Tcl_Init() is a helper procedure that finds and source's the init.tcl script, which should exist somewhere on the Tcl library path. On Macintosh systems, it additionally checks for an Init resource and sources the contents of that resource if init.tcl cannot be found.

Tcl_Init() is typically called from Tcl_AppInit() procedures.


PORTABILITY

Windows 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
Tcl_AppInit(), Tcl_Main()


PTC MKS Toolkit 10.4 Documentation Build 39.