Skip to content
Tcl Source Code Artifact [68f8b075a5]
Login

Artifact [68f8b075a5]

Artifact 68f8b075a5daf80aeb56ff890cf2181f48b8b970:

Ticket change [68f8b075a5] - Ticket [558299ffffffffff|558299ffff] <i>restrict use of proc argument named args</i> status still Open with 4 other changes by vincentdarley on 2002-05-20 22:24:53.
D 2002-05-20T22:24:53
J icomment Logged\sIn:\sYES\s\nuser_id=32170\n\nI\slike\sDonal's\ssuggestion\sa\slot.\s\sAllowing\s'args'\sas\sa\s\nfirst\sargument\swould\smake\sit\smuch\seasier\sto\simplement\sany\s\ncommand\sthat\slooks\slike\s'cmd\s?opts?\sblah\sblah'.\s\sGiven\sthat\s\ncommands\swhich\slook\slike\sthat\sare\sthe\s'Tcl-way',\sI\sthink\sit\s\nwould\sbe\sa\sgreat\sidea.\n\nThat\swould\smean\swe\sprobably\swant\sto\sthrow\san\serror\sfor\s\nmultiple\suse\sof\s'args'\s\s(i.e.\sproc\s{args\sfoo\sargs}\s{...}\sis\s\nan\serror,\sbut\sthen\sagain\s_any_\smultiple\suse\sof\sthe\ssame\s\nparameter\sis\smost\slikely\san\serror).\n\nMy\sonly\sworry:\sanyone\swho\shas\swritten\scode\susing\s'args'\sas\s\na\snon-final\sparameter\shas\sa\sreasonable\schance\sthat\sthe\scode\s\nmight\sbreak\swhen\sthis\schange\sis\smade.\s\sThis\srepresents\sa\s\nmild\sbackwards\scompatibility\sissue,\sbut\slikely\sonly\sfor\s\ncode\swritten\sby\sTcl-beginners.\n\n
J login vincentdarley
J mimetype text/plain
J username vincentdarley
K 558299ffffffffffffffffffffffffffffffffff
U vincentdarley
Z 92d3cc71ee83e296dc6c22f5606bb96f