12.07.2015 Views

RAPID reference manual - Technology

RAPID reference manual - Technology

RAPID reference manual - Technology

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

InstructionRemoveDirFile and Serial Channel HandlingRemoveDir - Delete a directoryRemoveDir is used to remove a directory.The user must have write and execute permission for the directory and the directorymust be empty.ExamplesRemoveDir “HOME:/mydir”;In this example, the mydir directory under HOME: is deleted.ArgumentsRemoveDirPathPathData type: stringThe name of the directory to be removed, specified with full or relative path.Error handlingIf the directory does not exist, or the directory is not empty, or the user has not writeand execute permission to the library, the system variable ERRNO is set toERR_FILEACC. This error can then be handled in the error handler.SyntaxRemoveDir[ Path’:=’ ] < expression (IN) of string>’;’<strong>RAPID</strong> <strong>reference</strong> <strong>manual</strong> - part 1a, Instructions A-R 391

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

Saved successfully!

Ooh no, something went wrong!