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

  • Creator
    Topic
  • #47934
    Wilhelm Wiegert
    Participant

    What is the character limit for the name of a TCL proc?

    Also, we had a developer leave a space in a TCL proc name and he received the following error:

    Errors detected in NetConfig – can not find channel named “stderr”

    It also prevented the threads from starting.

    Thx.

    Willy

Viewing 0 reply threads
  • Author
    Replies
    • #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.

Viewing 0 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,126
Forums
28
Topics
9,295
Replies
34,439
Topic Tags
287
Empty Topic Tags
10