1Tcl_CommandComplete(3) Tcl Library Procedures Tcl_CommandComplete(3)
2
3
4
5______________________________________________________________________________
6
8 Tcl_CommandComplete - Check for unmatched braces in a Tcl command
9
11 #include <tcl.h>
12
13 int
14 Tcl_CommandComplete(cmd)
15
17 const char *cmd (in) Command string to test for completeness.
18______________________________________________________________________________
19
20
22 Tcl_CommandComplete takes a Tcl command string as argument and deter‐
23 mines whether it contains one or more complete commands (i.e. there are
24 no unclosed quotes, braces, brackets, or variable references). If the
25 command string is complete then it returns 1; otherwise it returns 0.
26
27
29 complete command, partial command
30
31
32
33Tcl Tcl_CommandComplete(3)