First:
Goto should not be used with "While" statement. Use "IF" instead.
ex:
Code:
IF Footsw=1 or Ready=1 then Goto Start


Second:
Your statement should have been as below.
Code:
While Footsw=1 or Ready=1
Goto start    'cant'be on the same line with While
Wend