Shifting code from PICAXE to Arduino

goto runsensor

runsensor:

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