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 />

CREATEDIRECTORY(NAME)<br />

CREATEDIRECTORY(NAME)<br />

ARGUMENT TYPE DESCRIPTION<br />

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

DESCRIPTION<br />

Creates a new directory on the CompactFlash card. Note that the filing system used on the<br />

card does not support long filenames, and that if backslashes are included in the pathname to<br />

separate path elements, they must be doubled-up per Crimson’s rules for string constants as<br />

described in the chapter on Writing Expressions. To avoid this complication, forward slashes<br />

can be used in place of backslashes without the need for such doubling. The function returns a<br />

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 />

Result := CreateDirectory(“/LOGS/LOG1”)<br />

REVISION 6 PAGE 307

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

Saved successfully!

Ooh no, something went wrong!