fork download
  1. set num 10
  2. if {$num > 5} {
  3. puts "Greater than 5"
  4. } else {
  5. puts "Less than or equal to 5"
  6. }
Success #stdin #stdout 0.01s 5296KB
stdin
Standard input is empty
stdout
Greater than 5