help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Procedures and functions] Reference for unit 'StreamIO' (#fcl)

GetStream

Return the stream, associated with a file.

Declaration

Source position: streamio.pp line 22

function GetStream(

  var F: TTextRec

):TStream;

Arguments

F

  

The file one wishes to get the stream from.

Function result

The stream assigned to the fle.

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505