davyzhu
Advanced Member level 1
how to write loop in batch
Hello all,
I want to write a loop in Batch, the idea was written in C.
//------------------------
for(par0=0.1;par0<1;par0=par0+0.1) {
command1 par0 par1;
command2 par0 par2;
command3 par0 par3;
}
//------------------------
//the par is parameter for command
How to change it to Batch(I use NT), thanks!
Regards,
Davy
Hello all,
I want to write a loop in Batch, the idea was written in C.
//------------------------
for(par0=0.1;par0<1;par0=par0+0.1) {
command1 par0 par1;
command2 par0 par2;
command3 par0 par3;
}
//------------------------
//the par is parameter for command
How to change it to Batch(I use NT), thanks!
Regards,
Davy