for problem...
From: David Cobac (david.cobacNOSPAM_at_invalid.free.fr)
Date: 11/29/03
- Next message: Les Cargill: "Re: for problem..."
- Previous message: highfly22_at_163.com: "encoding problem with expectk"
- Next in thread: Les Cargill: "Re: for problem..."
- Reply: Les Cargill: "Re: for problem..."
- Reply: Robert Heller: "Re: for problem..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Nov 2003 15:23:56 +0100
hello,
why this loop does not go to k=1 ?
set pas 0.01
for {set k 0} {$k<=1} {set k [expr {$k+$pas}]} {
puts $k
}
but if i take pas=0.1 then it works !
sorry for this (a priori) so simple question...
-- cordialement david cobac
- Next message: Les Cargill: "Re: for problem..."
- Previous message: highfly22_at_163.com: "encoding problem with expectk"
- Next in thread: Les Cargill: "Re: for problem..."
- Reply: Les Cargill: "Re: for problem..."
- Reply: Robert Heller: "Re: for problem..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]