next up previous contents index
Next: SetPriority Up: Functions and procedures Previous: Select

SelectText

   

Declaration:

Function SelectText ( var T : Text; TimeOut :PTime) : Longint;

Description:

SelectText executes the Select call on a file of type Text. You can specify a timeout in TimeOut. The SelectText call determines itself whether it should check for read or write, depending on how the file was opened : With Reset it is checked for reading, with Rewrite and Append it is checked for writing.

Errors:

See Select. SYS_EBADF can also mean that the file wasn't opened.

See also:

Select, GetFS



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998