Posted to tcl by stu at Sat May 28 16:46:21 GMT 2022view raw

  1. Input:
  2. {defe}proc proc{~}{/defe}
  3. {defe}/proc }{/defe}
  4. {defe}args {~}{{/defe}
  5. {defe}/args }{~}{{/defe}
  6. {proc} test
  7. {args}a b args{/args}
  8. puts $a:$b:[llength $args]
  9. {/proc}
  10. Output:
  11. proc test {a b args} { puts $a:$b:[llength $args] }

AltStyle によって変換されたページ (->オリジナル) /