As long as i've interpreted your code correctly, this will do the same thing:

Code:
for x=0 to 49
    GOSUB GoForward
next x
GOSUB Stop