Sign in Join
FPDoc Onlineexperiment

TBufStream.Open procedure

Member of TBufStreamIn unit Objects

Open the file if it is closed.

Declaration

pascal
procedure Open(OpenMode: Word); virtual

Description

If the stream's status is stOK, and the stream is closed then Open re-opens the file stream with mode OpenMode. This call can be used after a Close call.

For an example, see Open.

Errors

If an error occurs when re-opening the file, then Status is set to stOpenError, and the OS error code is stored in ErrorInfo

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.