Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
12
Task/Inverted-syntax/Tcl/inverted-syntax-2.tcl
Normal file
12
Task/Inverted-syntax/Tcl/inverted-syntax-2.tcl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
rename unknown __unknown
|
||||
proc unknown {args} {
|
||||
if {3 == [llength $args]} {
|
||||
package require control
|
||||
return [control::do {*}$args]
|
||||
} else {
|
||||
return [__unknown {*}$args]
|
||||
}
|
||||
}
|
||||
#usage
|
||||
% {set i 0; puts "hello world"; incr i} until {$i > 0}
|
||||
hello world
|
||||
Loading…
Add table
Add a link
Reference in a new issue