ReadData()

Syntax

Length = ReadData(#File, *MemoryBuffer, LengthToRead)
Description
Read the content from the #File to the specified memory buffer. 'LengthToRead' specifies the number of bytes to read.

After executing the function, the 'Length' variable will hold the number of bytes that were really read. This may be useful for validation purposes.

For a code example look at the Lof() function.

Supported OS

All

<- ReadCharacter() - File Index - ReadDouble() ->