properties works on the open argument list »args«. It search for name value pairs in the canonical -name value form. It does create a new local variable inside its caller, named like the property but without a leading »-«-sign.

Example 9.5. Properties

proc myargsl args {

# creates a local variable test inside of
# myargs with value: sample:
myargsl -test sample