Liste des Groupes | Revenir à cl tcl |
On 6/25/2024 12:01 AM, Mark Summerfield wrote:I had peeked at that but was put off by there being no 'examples'
section. I'll have another look at it.
Thanks also to the other repliers, but I want something 'standards'
rather than ad hoc. I do find it surprising that it isn't part of
Tcl itself.
I too looked at tepam and also TIP 457 but found both to be
impenetrable without some serious study, of which I was not motivated
to expend. Maybe if Ashok were to write a chapter with his ability
to simplify esp. with good examples.
However, it seems to me that a somewhat simple solution for a
"standard" might be a proc say, called processArgs and hand it an
argument spec similar to what was given in the first posting, then it
could parse the spec, in the manner of say, YACC with a bnf spec.
Using [uplevel] it could create variables in the proc.
Les messages affichés proviennent d'usenet.