Sign in Join
FPDoc Onlineexperiment

TTextStrings.LoadFromFile procedure

Member of TTextStringspublicIn unit TextStrings

Loads the content in the string list from the specified file name.

Declaration

pascal
procedure LoadFromFile(const FileName: string); override

Arguments

FileName

File name with the values loaded in the method.

Description

Creates a temporary TFileStream instance for the FileName argument. The file handle is opened for reading, and shared write access is denied. The inherited LoadFromStream method is called to load the values in the string list from the file stream.

See also

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