## Tcl9.0.3/Tk9.0.3 Documentation > Tcl C API > CmdCmplt

### Tcl/Tk Applications | Tcl Commands | Tk Commands | [incr Tcl] Package Commands | SQLite3 Package Commands | TDBC Package Commands | tdbc::mysql Package Commands | tdbc::odbc Package Commands | tdbc::postgres Package Commands | tdbc::sqlite3 Package Commands | Thread Package Commands | Tcl C API | Tk C API | [incr Tcl] Package C API | TDBC Package C API

### NAME

Tcl_CommandComplete — Tcl 命令内の波括弧の対を確認する 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 はTcl 命令文字列を引数としてとり､それが､一つ或はそれ以上の完全な命令か否かを定める(即ち､閉じてない引用､波括弧､各括弧､変数参照がないか)｡もし命令文字列が完全であると1を返し; それ以外は 0を返す｡ 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
Copyright © 1989-1993 The Regents of the University of California.
Copyright © 1994-1996 Sun Microsystems, Inc.