procedure LoadFromFile(const FileName: string);
Reads the header information and the values array content from the file.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | FileName | string |
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