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

2 lines
56 B
Tcl
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
set result [expr { $foo == 3 ? "three" : "not three" }]