I suppose you are using PBP 2.60, right?

LOOP is a reserved word for 2.60. So use Loop1 or something.

Ioannis