RosettaCodeData/Task/String-comparison/Tcl/string-comparison-1.tcl

7 lines
106 B
Tcl
Raw Permalink Normal View History

2013-04-11 01:07:29 -07:00
if {$a eq $b} {
puts "the strings are equal"
}
if {$a ne $b} {
puts "the strings are not equal"
}