我在while循环中有一个for循环。我有一个条件来中断for循环中的while。代码如下: for {set i 1} {$i<$count_table} {incr i} { for {set break_lines 1} {$break_lines<$nb_lines} {incr break_lines} {
if {[<e
number = gets.chomp.to_i print "Please, re-type it again!"number = gets.chomp.to_icase number
when 1 then print "This is January!"我认为唯一缺少的是while循环中的第二个条件,该条件定义,如果输入不是整数,则需要重新键入它。我正在尝试正确地定义while