Headline:Newspeek
Date:Wednesday, July 31, 2019
Posted By:Plaid Hatter Games

can't read "footnote": no such variable
    while executing
"foreach {id txt} $footnote {
    uplevel 1 "my tag P id footnote${id} content \"[string repeat * $id] - \[subst \{$txt\}\]\""
  }"
    (procedure "FOOTNOTES" line 3)
    invoked from within
"FOOTNOTES"
    ("eval" body line 17)
    invoked from within
"eval {*}$args"
    (class "::clay::yggdrasil" method "eval" line 2)
    invoked from within
"$obj eval $body"
    ("try" body line 8)
proc FOOTNOTES {} { upvar 1 footnote footnote foreach {id txt} $footnote { uplevel 1 "my tag P id footnote${id} content \"[string repeat * $id] - \[subst \{$txt\}\]\"" } } proc footnote text { upvar 1 footnote footnote nextnote nextnote dict set footnote [incr nextnote] $text return "[string repeat * $nextnote]" } set uri /content/[file tail [my request get REQUEST_PATH]] para { } my tag div [FOOTNOTES]