ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

This manual page is associated with the Mac OS X developer tools. The software or headers described may not be present on your Mac OS X installation until you install the developer tools package. This package is available on your Mac OS X installation DVD, and the latest versions can be downloaded from developer.apple.com.

For more information about the manual page format, see the manual page for manpages(5).



Tcl_CommandComplete(3)                     Tcl Library Procedures                     Tcl_CommandComplete(3)



____________________________________________________________________________________________________________

NAME
       Tcl_CommandComplete - Check for unmatched braces in a Tcl command

SYNOPSIS
       #include <tcl.h>

       int
       Tcl_CommandComplete(cmd)

ARGUMENTS
       CONST char   *cmd   (in)      Command string to test for completeness.
____________________________________________________________________________________________________________


DESCRIPTION
       Tcl_CommandComplete  takes a Tcl command string as argument and determines whether it contains one or
       more complete commands (i.e. there are no unclosed quotes, braces, brackets, or variable references).
       If the command string is complete then it returns 1; otherwise it returns 0.


KEYWORDS
       complete command, partial command



Tcl                                                                                   Tcl_CommandComplete(3)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.