Skip to content
Tcl Source Code Artifact [09d88a1a64]
Login

Artifact [09d88a1a64]

Artifact 09d88a1a640ed0433b7e389358f87902554c0bbaebc6289ef3088d29582cb1c8:

Ticket change [09d88a1a64] - Closed ticket [bd45a0e32a1ce6cb|bd45a0e32a]: <i>lappend puts some args in braces if they start list</i> plus 6 other changes by sebres on 2018-08-13 17:12:31.
D 2018-08-13T17:12:31.079
J closedate 2458344.21702638
J closer sebres
J icomment It's\snot\sa\sbug,\sit's\sa\sfeature.\r\n\r\nThis\sway\stcl\sallows\sto\suse\scanonical\slist\sas\sthe\scommand,\sfor\sexample\scompare:\r\n<code><pre\sstyle="padding-left:\s10pt">\r\n%\sset\sl\s{{#0}\s#1\s#2}\r\n{#0}\s#1\s#2\r\n%\sif\s1\s$l\r\ninvalid\scommand\sname\s"#0"\r\n\r\n%\sset\sl\s{#0\s#1\s#2}\r\n#0\s#1\s#2\r\n%\sif\s1\s$l\r\n</pre></code>\r\n\r\nYou\ssee\sin\sthe\sfirst\scase\stcl\sinvokes\sthe\scommand\s"#0"...\s\r\nin\ssecond\scase\sit\signores\sthe\scontent\sof\slist\sbecause\sit\sis\sa\scomment\sin\sthis\scase.\r\n\r\nIn\scase\sof\sthe\slist\srepresentation,\sit\sworking\sas\sexpected,\sso\seach\selement\sis\sthe\ssame:\r\n\r\n<code><pre\sstyle="padding-left:\s10pt">\r\n%\sset\snew\r\n{#1234}\s#1234\r\n\r\n%\slindex\s$new\s0\r\n#1234\r\n%\slindex\s$new\s1\r\n#1234\r\n</pre></code>\r\n\r\nThus\sclosed\sas\sinvalid.
J login sebres
J mimetype text/x-fossil-wiki
J resolution Invalid
J status Closed
K bd45a0e32a1ce6cb1b4d0629e538da8fe94c1e65
U sebres
Z 40a583e949ef1023676b71885ece48fd