End of program.

This statement stops the program entirely. To exit a loop, use the BREAK statement instead.

Sourcedo print "Press S to Stop..." if (press "s") = 1 print "STOP :)" stop end loop