tisTcl
Introduction to proc utils.
Not logged in

A proc has:

An example:

proc foo {a {b defaultB} args} {puts hello}

A proc invocation is formed by the name of the proc followed by a call.

Examples of invoking foo with different calls:

foo oneA
foo anotherA oneB
foo theA theB someC andSomeD

The following operations relative to procs are considered here: