ERROR: Compute used in variable between runs is not current

hello,everyone
I am having problems with the "variable " command (lammps-13Jul11, serial). My work is studying droplet evaporation. I am trying to group the atoms those coordination number >=4 to Determine group liquid , but I cannot use the command variable and loop to realize it . I do not know how to solve it ,and hope you can help me.
I am using the following loop and the error sign is under it.

###########LOOP#############
compute 1 all coord/atom 1.5
dump 1 all custom 2000 dump0 id type x y z vx vy vz c_1
run 0
label loop
variable i loop 2682
variable x equal c_1[$i]
if “$x >= 4” then “print ‘group liquid id i’”
clear
next i
jump in.evaporation
variable id delete
variable x delete
run 100000

One thing you can do with a per-atom variable is to
dump its values to a file. You can then post-process it
however you wish. There is no mechanism in LAMMPS
to use a per-atom compute variable to create a group. Besides
groups are static, not dynamic.

Steve