05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

FUNCTION REFERENCE<br />

DELETEDIRECTORY(NAME)<br />

DELETEDIRECTORY(NAME)<br />

ARGUMENT TYPE DESCRIPTION<br />

name cstring The directory to be deleted.<br />

DESCRIPTION<br />

Remove a directory, its subdirectories and contents from the CompactFlash. Note that the<br />

filing system used on the card does not support long filenames, and that if backslashes are<br />

included in the pathname to separate path elements, they must be doubled-up per Crimson’s<br />

rules for string constants as described in the chapter on Writing Expressions. To avoid this<br />

complication, forward slashes can be used in place of backslashes without the need for such<br />

doubling. The function returns a value of one if it succeeds, and a value of zero if it fails.<br />

FUNCTION TYPE<br />

This function is active.<br />

RETURN TYPE<br />

int.<br />

EXAMPLE<br />

Success := DeleteDirectory(“/logs/custom”)<br />

REVISION 6 PAGE 313

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

Saved successfully!

Ooh no, something went wrong!