13.07.2015 Views

Turbo Basic

Turbo Basic

Turbo Basic

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

STOP statementFunctionSyntaxRemarksDifferencesSee AlsoSTOP halts the program.STOPSTOP terminates a program and returns control to the operatingsystem (or to <strong>Turbo</strong> <strong>Basic</strong>, depending on where it was launchedfrom). The END statement does the same thing, and is preferred.Unlike Interpretive BASIC, once <strong>Turbo</strong> <strong>Basic</strong> programs are STOPped,they cannot be CONTinued.ENDExample 1 set up an infinite loopDO1 stop if a key was pressedIF INSTAT THEN STOPLOOPEND 1 end the program348<strong>Turbo</strong> <strong>Basic</strong> Owner's Handbook

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!