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.

READFILE(FILE, CHARS)<br />

CRIMSON USER MANUAL - MODULAR CONTROLLER<br />

READFILE(FILE, CHARS)<br />

ARGUMENT TYPE DESCRIPTION<br />

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

chars int Number of characters to be read.<br />

DESCRIPTION<br />

Reads a string up to 512 characters in length from the specified file. This function does not<br />

look for a line feed and carriage return therefore allowing line read of more than 510<br />

characters (ReadFileLine() limit).<br />

If a file as multiple lines, the string returned by ReadFile() will be as many lines as required<br />

to reach the number of characters to be read. Line feed and carriage return will be part of the<br />

returned string.<br />

FUNCTION TYPE<br />

This function is active.<br />

RETURN TYPE<br />

string.<br />

EXAMPLE<br />

Text := ReadFile(hFile, 80)<br />

PAGE 396<br />

http://www.redlion.net/controller

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

Saved successfully!

Ooh no, something went wrong!