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.

FUNCTION REFERENCE<br />

WRITEFILE(FILE, TEXT)<br />

WRITEFILE(FILE, TEXT)<br />

ARGUMENT TYPE DESCRIPTION<br />

file int File handle as required by OpenFile.<br />

Text cstring Text to be written to file.<br />

DESCRIPTION<br />

Writes a string up to 512 characters in length to the specified file and returns the number of<br />

bytes successfully written. This function does not automatically include a Line feed and<br />

carriage return at the end. For easier programming, refer to WriteFileLine().<br />

FUNCTION TYPE<br />

This function is active.<br />

RETURN TYPE<br />

int.<br />

EXAMPLE<br />

count := WriteFile(hFile, “Writing text to file.”)<br />

REVISION 6 PAGE 433

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

Saved successfully!

Ooh no, something went wrong!