Tcl_CommandComplete(3tcl)

πŸ“¦
version 9.0.4 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

okay bestie, this is the Tcl_CommandComplete(3tcl) page from the Tcl Library Procedures, and we're gonna check if your Tcl command is complete or if it's giving "unclosed brace" energy. πŸ’…


✨ NAME ✨

Tcl_CommandComplete β€” checks for unmatched braces in a Tcl command. That's the whole vibe. πŸŽ€

🌸 SYNOPSIS 🌸

#include <tcl.h>

int
Tcl_CommandComplete(cmd)

πŸ¦‹ ARGUMENTS πŸ¦‹

  • const char *cmd (in) β€” the command string you're testing for completeness. Like, is it done or is it still typing? πŸ“

πŸ’– DESCRIPTION πŸ’–

Tcl_CommandComplete takes a Tcl command string as its argument and figures out whether it contains one or more complete commands. "Complete" here means there are no unclosed quotes, braces, brackets, or variable references. If the command string is complete, it returns 1; otherwise, it returns 0. No cap. ✨

πŸ‘‘ KEYWORDS πŸ‘‘

  • complete command
  • partial command

🌸 okay bye bestie! This was Tcl_CommandComplete(3tcl) from the Tcl Library Procedures, source/version Tcl, and the original footer didn't list a date, so date: not specified. mwah! πŸ’–

πŸ“¦ where this page comes from