Read from file.

Call:

int ires = ts_file(int iFileDescr, "read", string storead);


Here: iFileDescr - file object descriptor, storead - text variable to read from the file. Returns 0 if the write was successful. The number of characters read can be read using the ac_getnumvalue() function.