Init.3
上传用户:rrhhcc
上传日期:2015-12-11
资源大小:54129k
文件大小:1k
- '"
- '" Copyright (c) 1998-2000 by Scriptics Corporation.
- '" All rights reserved.
- '"
- '" RCS: @(#) $Id: Init.3,v 1.1 2000/04/28 00:47:48 ericm Exp $
- '"
- .so man.macros
- .TH Tcl_Init 3 8.0 Tcl "Tcl Library Procedures"
- .BS
- .SH NAME
- Tcl_Init - find and source initialization script
- .SH SYNOPSIS
- .nf
- fB#include <tcl.h>fR
- .sp
- int
- fBTcl_InitfR(fIinterpfR)
- .SH ARGUMENTS
- .AP Tcl_Interp *interp in
- Interpreter to initialize.
- .BE
- .SH DESCRIPTION
- .PP
- fBTcl_InitfR is a helper procedure that finds and fBsourcefR's the
- fBinit.tclfR script, which should exist somewhere on the Tcl library
- path. On Macintosh systems, it additionally checks for an fBInitfR
- resource and sources the contents of that resource if fBinit.tclfR
- cannot be found.
- .PP
- fBTcl_InitfR is typically called from fBTcl_AppInitfR procedures.
- .SH "SEE ALSO"
- Tcl_AppInit, Tcl_Main
- .SH KEYWORDS
- application, initialization, interpreter