Not sure which version of PBP you are using... but "Loop" is a reserved word that should NOT be used as a variable name or program label.

You should change that to something else like "MainLoop", etc.