Hi,
If you use GOTO you can't use RETURN.
RETURN is only used when you jump to a routine using GOSUB.
You don't need ENDIF if your IF statement is one one line.
EDIT: Except for the above, the program would jump to choise2Sub if Choise2 was evaluated true. But even if none of the IF statements were true the program would run all three subs one after the other since you haven't prevented the program to reach the subs after the IF statements. Makes sense??
It should probably look something more like:
Code:Start: if Choice1 goto choice1Sub 'Jump to choise1Sub if Choise1 is=1 if Choice2 goto Choice2Sub if Choice3 goto Choice3Sub Goto start 'Start over Choice1Sub: {Sous programme} Goto start 'Start over Choice2Sub: {Sous programme} Goto Start 'Start over Choice3Sub: {Sous programme} Goto Start 'Start over
/Henrik Olsson.




Bookmarks