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.

RMDIR statementFunctionSyntaxRemarksExampleRMDIR removes the directory (like DOS's RMDIR command).RMOIR pathpath is a standard path description string.RMDIR removes the directory indicated by path. This statementis the equivalent of DOS's RMDIR command (except that it can'tbe abbreviated). The same restrictions apply, namely that pathspecify a valid, empty directory. If the directory isn't empty, thenrun-time error 75 occurs, Path/File Access Error.• set up an error handlerON ERROR GOTO ErrorHandlerINPUT "Enter the name of the directory to remove: ", 0$RMOIR 0$END• removes directory, end the programErrorHandler:PRINT "Error " ERR " at " ERAORRESUME NEXT328<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!