Ok, now I understand. From what I've seen, the problem is that you haven't defined those labels yet. Also, you should use while/wend instead of goto @loop. Goto can be used for anything but you should avoid using it if there are other commands that do the same (While/Repeat/For/Def).