next up previous
Next: Variables Up: An introduction to Previous: The interpreter

Commands

An example of a simple command in Tcl:

% set myvar 27
27
A command always starts with the name of the command (in this case set), followed by zero or more arguments. Everything is seperated by spaces. The `result' of a command is always printed.



SE Praktikum
Tue Aug 13 13:33:30 MET DST 1996