Re: Where to find a Tcl command?
- From: "Larry W. Virden" <lvirden@xxxxxxxxx>
- Date: Tue, 31 Jul 2007 06:49:33 -0700
On Jul 30, 5:19 pm, mike.hfzh...@xxxxxxxxx wrote:
Hi, I am a newbite of TCL, I am trying to access TCL commands, for
example, I am tring to locate a command "puts" ,but I can not find it
in any Tcl folder,anyone can let me know the clue about it?
There are several places you have to look to locate code behind a Tcl
command.
1. The source code for Tcl itself. There is a body of C code which
implements a majority of the basic Tcl commands.
2. files in $auto_path - some of these will be in the tcl script
language, and some of these will be written in some compiled language.
3. In the case where someone has implemented additional tcl commands
in C (TclX, expect, etc.), then you will need to get the source code
distribution of that command.
4. In some cases, the source code isn't easily available. If you are
using some application which uses Tcl, it may have implemented Tcl
commands but chosen not to make the source available.
.
- References:
- Where to find a Tcl command?
- From: mike . hfzhang
- Where to find a Tcl command?
- Prev by Date: Re: Tcl script fails on some platforms
- Next by Date: Re: Tcl script fails on some platforms
- Previous by thread: Re: Where to find a Tcl command?
- Next by thread: How to load a dll (dynamic link library) in Tcl?
- Index(es):
Relevant Pages
|