VectorInt.LoadFromFile Method

procedure LoadFromFile(const FileName: string);

Reads the header information and the values array content from the file.

#NameTypeDescription
1FileNamestring

Result: stored in self (calling object)

Remarks:

Reads the header information and the values array content from the file specified by FileName parameter.

Examples
var b: TVecInt;
begin
    CreateIt(b);
    try
        b.LoadFromFile('c:\test.Vec'); // Read header and values for b
    finally
        FreeIt(b);
    end;
end;
See Also: VectorInt.SaveToFile, VectorInt.LoadFromStream