-
Declaration:
- Procedure AssignFile(Var f: FileType;Name: Character type);
-
Description:
- AssignFile is completely equivalent to the system unit’s Assign (452) function: It assigns
Name to a function of any type (FileType can be Text or a typed or untyped File variable).
Name can be a string, a single character or a PChar.
It is most likely introduced to avoid confusion between the regular Assign (452) function and
the Assign method of TPersistent in the Delphi VCL.
-
Errors:
- None.
-
See also:
- CloseFile (596), Assign (452), Reset (555), Rewrite (556), Append (449)
Listing: refex/ex88.pp