home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 0 / 0998 / CreateInte.3 < prev    next >
Encoding:
Text File  |  1990-12-28  |  1.3 KB  |  39 lines

  1. '\" Copyright 1989 Regents of the University of California
  2. '\" Permission to use, copy, modify, and distribute this
  3. '\" documentation for any purpose and without fee is hereby
  4. '\" granted, provided that this notice appears in all copies.
  5. '\" The University of California makes no representations about
  6. '\" the suitability of this material for any purpose.  It is
  7. '\" provided "as is" without express or implied warranty.
  8. '\" 
  9. '\" $Header: /sprite/src/lib/tcl/RCS/Tcl_CreateInterp.man,v 1.2 89/03/24 14:16:00 ouster Exp $ SPRITE (Berkeley)
  10. '\" 
  11. .so \*(]ltmac.sprite
  12. .HS Tcl_CreateInterp tcl
  13. .BS
  14. .SH NAME
  15. Tcl_CreateInterp \- set up a new Tcl command interpreter
  16. .SH SYNOPSIS
  17. .nf
  18. \fB#include <tcl.h>\fR
  19. .sp
  20. Tcl_Interp *
  21. \fBTcl_CreateInterp\fR()
  22. .BE
  23.  
  24. .SH DESCRIPTION
  25. .PP
  26. \fBTcl_CreateInterp\fR creates a new interpreter structure and returns
  27. a token for it.  The token is required in calls to most other Tcl
  28. procedures, such as \fBTcl_CreateCommand\fR, \fBTcl_Eval\fR, and
  29. \fBTcl_DeleteInterp\fR.
  30. Clients are only allowed to access the fields of Tcl_Interp structures
  31. related to command return values;  see the Tcl_Interp
  32. and \fBTcl_CreateCommand\fR man pages for details.
  33. The new interpreter is initialized with no defined variables and only
  34. the built-in Tcl commands.  To bind in additional commands, call
  35. \fBTcl_CreateCommand\fR.
  36.  
  37. .SH KEYWORDS
  38. command, create, interpreter
  39.