Init(3tcl)

Init3tcl

Find and source initialization script

Usage

#include <tcl.h>

int
Tcl_Init(interp)

    


    

Arguments

Tcl_Interp *interp (in)

Interpreter to initialize.


    


            

Overview

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.

Keywords

application, initialization, interpreter

Releases

4 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0–4.0
  2. 5.0

From tcl8.3-doc 8.3.5-13 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.