next up previous contents index
Next: Datatypes Up: Tcl Previous: Tcl

Syntax

  The syntax of Tcl is simple. It is a compromise between a shell style language and a lisp like language. The simple structure of commands is typical for a shell language, and is one reason for the acceptance of Tcl as an implementation language. A command is formed by words separated by spaces. The first word is the command and the following words are arguments. Commands are separated by newlines or semi-colons.



Harry Beker
Thu Feb 29 18:06:38 MET 1996