Command-Line Options

The standard Tcl shell program tclsh accepts a command line of the form:

tclsh [fileName] [arg ...]

where filename is an optional file from which to read Tcl commands. With no filename argument, tclsh runs interactively using standard input and output.

The filename and any additional arguments are stored in the Tcl variables argc, argv, and argvO (see the section "Special Variables“).

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset