Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
engtech
on Dec 14, 2012
|
parent
|
context
|
favorite
| on:
Tcl the misunderstood (2006)
This also breaks, because comments are syntax.
proc some_proc {a b} { } # some_proc
vorg
on Dec 16, 2012
|
next
[–]
Based on the instructions in the article (tho I haven't tried it out), putting a semicolon before the hash would work...
proc some_proc {a b} { } ;# some_proc
ZoFreX
on Dec 15, 2012
|
prev
[–]
That's easier to explain though - you are passing the arguments {a b} { } # and some_proc to the procedure some_proc. Because comments are just another command, the # has to be the first non-whitespace character on the line.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: