[lammps-users] illegal variable

Dear lammps user

I set a loop in my code, but when it runs to the loop, it said Substitution for illegal variable. the code is like this:

variable a loop 18
label loopa

next a
jump in.10_025 loopa

I can use it before, but I don’t know why it doesn’t work now. Can you help me to settle this problem? Thanks very much。

Lili

I don't know. If I add those lines to bench/in.lj, it runs fine.

Steve

2009/12/13 李丽丽 <[email protected]>:

If it’s possible to post the whole script out, others might check that out.

Wei