if u dont have any boolean expression in the command line after "if" how can i write a logic. Imean , for example
set a apple
if {$a = apple } {
puts 1
}
this command line gives an error that says : u have extra tokens at the end of expression.
any way to write it correctly?
or need any other command?
i hope i could explain ma question clearly
Thank you all..
set a apple
if {$a = apple } {
puts 1
}
this command line gives an error that says : u have extra tokens at the end of expression.
any way to write it correctly?
or need any other command?
i hope i could explain ma question clearly
Thank you all..