Shifting code from PICAXE to Arduino

AWOL:

goto runsensor

runsensor:


Now I know the square root of zip about Picaxe, but that looks like an awfully suspect construct

The first goto is useless, but there is another one at the bottom of the posted code.