The program runs from top to bottom.
But we can make it go back up with the goto command.
http://doc.basic256.org/doku.php?id=en:goto
The document says that we need a label.
where we put the label, we can send the program there.
Now we will change it for the purposes of roulette:
So the program starts to ask the same thing forever.
But we can make it go back up with the goto command.
http://doc.basic256.org/doku.php?id=en:goto
The document says that we need a label.
Quoteskipit:
where we put the label, we can send the program there.
Quotegoto skipit
Now we will change it for the purposes of roulette:
Quoteasknumber:
a$ = prompt("What is the last number?", "enter new number")
goto asknumber
So the program starts to ask the same thing forever.