RosettaCodeData/Task/Conditional-structures/Tcl/conditional-structures-2.tcl

2 lines
56 B
Tcl
Raw Permalink Normal View History

2013-04-10 16:57:12 -07:00
set result [expr { $foo == 3 ? "three" : "not three" }]