|
2012-11-20
| ||
| 13:42 | • New ticket [3588742fff] new argument expansion {**}$args like python **args. artifact: 64a5d42a68 user: sebres | |
new argument expansion {**}$args like python **args
Open3588742fffffffffffffffffffffffffffffffffCreated 14 years agoUpdated 14 years ago
Descriptionplain2012-11-20 13:42:07
New argument expansion {**}$args like python **args, to call procedures with expanded named arguments...
%
proc test {{a "A"} {b "B"} {c "C"}} {
puts "- $a - $b - $c -"
}
% test
- A - B - C -
% test {**}{c Z a X}
- X - B - Z -
Log in (anonymous is fine) to add a comment.