Clone
Gustaf Neumann <neumann@wu-wien.ac.at>
committed
on 01 Nov 11
- bumped version numner to 1.6.7
fix + 2 more
apps/scripts/parameter.xotcl (+1 -0)
  1 # -*- Tcl -*-
1 2 ### Sample file for parameter testing....
2 3 ### For every class "-parameter" can be specified which accepts
3 4 ### a list of parameter specifications.
4 5 ###
5 6 ### * If a parameter specification consists of a single word,
6 7 ###   the word is considered as the parameter name and
7 8 ###   a standard setter/getter method with this name is created.
8 9 ###
9 10 ### * If the parameter specification  consists of two words, the
10 11 ###   second word is treated as the default value, which is stored
11 12 ###   in the class object.
12 13 ###
13 14 ### * If a default value exists in the class object, a
14 15 ###   corresponding instance variable with the name of the
15 16 ###   parameter is created automatically during initialization
16 17 ###   of the object.
17 18 ###
18 19 ### * If the parameter specification consists of more than two words,
19 20 ###   various parameter methods  (starting with "-") with arguments
20 21 ###   can be specified. In the following example