Unit 'StreamIO' Package
[Overview][Procedures and functions][Index] [#fcl]

GetStream

Return the stream, associated with a file.

Declaration

Source position: streamio.pp line 32

function GetStream(

  var F: TTextRec

):TStream;

Arguments

F

  

The file one wishes to get the stream from.

Function result

The stream assigned to the file.

Description

GetStream returns the instance of the stream that was associated with the file F using AssignStream.

Errors

An invalid class reference will be returned if the file was not associated with a stream.

See also

AssignStream

  

Assign a text file to a stream.

TStream


Documentation generated on: Nov 22 2024