05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

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

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

RENAMEFILE(HANDLE, NAME)<br />

CRIMSON USER MANUAL - MODULAR CONTROLLER<br />

RENAMEFILE(HANDLE, NAME)<br />

ARGUMENT TYPE DESCRIPTION<br />

handle int File handle.<br />

name cstring New file name.<br />

DESCRIPTION<br />

Returns a non-zero value upon a successful rename file operation. The file handle is the<br />

returned value of the Openfile() function. After the rename operation, the file stays open<br />

and should be closed if no further operations are required. The file name is maximum 8<br />

characters long, excluding the extension, which is 3 characters long maximum.<br />

FUNCTION TYPE<br />

This function is active.<br />

RETURN TYPE<br />

int.<br />

EXAMPLE<br />

Result := RenameFile(File , “NewName.txt”)<br />

PAGE 398<br />

http://www.redlion.net/controller

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

Saved successfully!

Ooh no, something went wrong!