Global Lables?

Blitz3D Forums/Blitz3D Beginners Area/Global Lables?

Hi folks,
i have set out a program in the following style:

;initialise graphics and declare global variables etc

.mainloop

; main loop stuff in here


now, in one of my included files, i have the player death function, which obviously is called when the player dies. It flushes all the data from the global variables adn then (should) go to the 'mainloop' label. I use the :
goto mainloop
: function, but whenever i try it i get an 'undefined label' error. do i have to delcare it somewhere first? i have tried:
global .mainloop
but it hates it :( can anyone give me some advice plz?
Thanks folks
~V~