⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 packagens.n

📁 tcl是工具命令语言
💻 N
字号:
'\"'\" Copyright (c) 1998-2000 by Scriptics Corporation.'\" All rights reserved.'\" '\" RCS: @(#) $Id: packagens.n,v 1.4 2002/07/01 18:24:39 jenglish Exp $'\" .so man.macros.TH pkg::create n 8.3 Tcl "Tcl Built-In Commands".BS'\" Note:  do not modify the .SH NAME line immediately below!.SH NAMEpkg::create \- Construct an appropriate \fBpackage ifneeded\fRcommand for a given package specification.SH SYNOPSIS\fB::pkg::create \fI\-name packageName\fR \fI\-version packageVersion\fR ?\fI\-load filespec\fR? ... ?\fI\-source filespec\fR? ....BE.SH DESCRIPTION.PP\fB::pkg::create\fR is a utility procedure that is part of the standard Tcllibrary.  It is used to create an appropriate \fBpackage ifneeded\fRcommand for a given package specification.  It can be used to construct a\fBpkgIndex.tcl\fR file for use with the \fBpackage\fR mechanism..SH OPTIONSThe parameters supported are:.TP\fB\-name\fR\0\fIpackageName\fRThis parameter specifies the name of the package.  It is required..TP\fB\-version\fR\0\fIpackageVersion\fRThis parameter specifies the version of the package.  It is required..TP\fB\-load\fR\0\fIfilespec\fRThis parameter specifies a binary library that must be loaded with the\fBload\fR command.  \fIfilespec\fR is a list with two elements.  Thefirst element is the name of the file to load.  The second, optionalelement is a list of commands supplied by loading that file.  If thelist of procedures is empty or omitted, \fB::pkg::create\fR willset up the library for direct loading (see \fBpkg_mkIndex\fR).  Anynumber of \fB\-load\fR parameters may be specified..TP\fB\-source\fR\0\fIfilespec\fRThis parameter is similar to the \fB\-load\fR parameter, except that itspecifies a Tcl library that must be loaded with the\fBsource\fR command.  Any number of \fB\-source\fR parameters may bespecified..PPAt least one \fB\-load\fR or \fB\-source\fR parameter must be given..SH "SEE ALSO"package(n).SH KEYWORDSauto-load, index, package, version

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -