IMind soft

Author's software

Development

Design

Designing

Being tested

Reading an open file

readfile(handle, size)

Returns a string of the read file

where:

handle-handle of an open file created by the openfile function

size-the size of the bytes read.

The function in question is designed to read information from a file using an open file descriptor. It allows you to perform a step-by-step reading of the contents of the file and return the received data.

The function has two arguments, one of which is handle, which is the handle of the open file. It is noteworthy that this argument must be provided externally before calling the function.

When using this function, keep in mind that the file descriptor must be open for reading and must correspond to the file access mode.

Thus, this function optimally solves the task of reading information from a file using an open file descriptor.



Help on built-in functions
The rules of programming scripts
Programm options
Color constants

Top.Mail.Ru