4 ms·
Line comments since the "#" isn't a comment character unless it's following a statement or such nonsense puts "for real" ;# orly? https://wiki.tcl-lang.or
by mdaniel 5y ago
Line comments since the "#" isn't a comment character unless it's following a statement or such nonsense
puts "for real" ;# orly?
https://wiki.tcl-lang.org/page/comment https://wiki.tcl-lang.org/page/comment
and there's some weird business about backslashes in comment characters, which IIRC "modern" tcl-ists use for ployglot launch scripts
#!/bin/sh
# this hides *both* lines from tclsh \
exec "tclsh" "$0" "$@"
puts "and now, moar tcl"
- sigzero 5y agoWow, I comment on that page way back in 2006! I suggested a multi-line comment. lol I don't use end of line comments myself so that never bugged me.