[lammps-users] loop in lammps?

Dear,

I want to run a simulation with the same initialization which is read in with read_restart or read_data command in lammps.
It’s function like this words in C++:

for(i = 1; i<=2000; i++){
initialization;

compute

}
Is the variable command able to implement this? If able, how can I write the code with variable? lable ?? jump???
I am a little confused

Thanks in advance for kindy people’s advice.

What does "initialization" and "compute" do?

Steve