muspellsson / hiccup

Automatically exported from code.google.com/p/hiccup
GNU Lesser General Public License v2.1
2 stars 0 forks source link

procs in hiccup can be proc-local, not in tclsh. #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Big oops.

proc whatnot {} {
   proc whee {n} {
      puts "Whee! $n"
   }
   whee 4
}

In hiccup, `whee` doesn't exist outside `whatnot`. In tclsh, it does.
Procs aren't proc-local, they belong to the namespace.

Original issue reported on code.google.com by consa...@gmail.com on 21 Jan 2008 at 6:34

GoogleCodeExporter commented 9 years ago

Original comment by consa...@gmail.com on 22 Jan 2008 at 8:41