in reply to Re: problem in my sub partition
in thread problem in my sub partition

or if you happen to be writing Perl rather than C you could:

for my $i (1 .. $k - 1) {
True laziness is hard work