Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
if {$foo == 3} {
|
||||
puts "foo is three"
|
||||
} elseif {$foo == 4} {
|
||||
puts "foo is four"
|
||||
} else {
|
||||
puts "foo is neither three nor four"
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
set result [expr { $foo == 3 ? "three" : "not three" }]
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
switch -- $foo {
|
||||
3 {puts "foo is three"}
|
||||
4 {puts "foo is four"}
|
||||
default {puts "foo is something else"}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue