fileRead |
|
fileRead( const handle, // file handle [const count]) // # of chars to read. default = 1 Read a number of chars from file. If reading a file sequentially check for eof before each read. Returns the character read. Example: // copy a file var inp = fileOpen('source.dat', fileOpenRead+fileOpenBinary); var out = fileOpen('target.dat', fileOpenWrite+fileOpenBinary); while (!fileEof(inp)) fileWrite(out,fileRead(inp,512)); fileClose(inp); fileClose(out); | ||||||||
Copyright © IBK Landquart | Last revised by Peter Koch, 24.02.00 | << Back Top Next >> |