Reply To: Size of TCL Proc Names / Spaces in TCL Proc name

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Size of TCL Proc Names / Spaces in TCL Proc name Reply To: Size of TCL Proc Names / Spaces in TCL Proc name

#57106
Anonymous
Participant

Right, a space is a list element separator and all tcl commands are lists.  So the tcl command “set myvar a” is a three element list.  The command “proc myproc {} {}” is a four element list.  The command “proc my proc {} {}” is a five element list and isn’t a legal proc command.

Spaces in tcl file names is what might stop the engine.  The specific problem there is that the tcl index file is itself a tcl proc and spaces in the names of files again make the tcl commands invalid.

Essentially, you’re not allowed to have spaces in file names or any other name in tcl.

Forum Statistics

Registered Users
5,116
Forums
28
Topics
9,291
Replies
34,426
Topic Tags
286
Empty Topic Tags
10