Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/tcl8.5.2/doc/CmdCmplt.3 @ 37

Last change on this file since 37 was 25, checked in by landauf, 16 years ago

added tcl to libs

File size: 1.0 KB
Line 
1'\"
2'\" Copyright (c) 1989-1993 The Regents of the University of California.
3'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
4'\"
5'\" See the file "license.terms" for information on usage and redistribution
6'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
7'\"
8'\" RCS: @(#) $Id: CmdCmplt.3,v 1.4 2004/10/07 15:15:35 dkf Exp $
9'\"
10.so man.macros
11.TH Tcl_CommandComplete 3 "" Tcl "Tcl Library Procedures"
12.BS
13.SH NAME
14Tcl_CommandComplete \- Check for unmatched braces in a Tcl command
15.SH SYNOPSIS
16.nf
17\fB#include <tcl.h>\fR
18.sp
19int
20\fBTcl_CommandComplete\fR(\fIcmd\fR)
21.SH ARGUMENTS
22.AS "const char" *cmd
23.AP "const char" *cmd in
24Command string to test for completeness.
25.BE
26
27.SH DESCRIPTION
28.PP
29\fBTcl_CommandComplete\fR takes a Tcl command string
30as argument and determines whether it contains one or more
31complete commands (i.e. there are no unclosed quotes, braces,
32brackets, or variable references).
33If the command string is complete then it returns 1; otherwise it returns 0.
34
35.SH KEYWORDS
36complete command, partial command
Note: See TracBrowser for help on using the repository browser.