Object
Pascal
Assign
Obsolete
Assigns a file handle to a binary or text file
System
unit
1
procedure
Assign
(
var FileHandle
: TextFile;
const FileName
: string ) ;
2
procedure
Assign
(
var FileHandle
: File;
const FileName
: string ) ;
Description
The
Assign
procedure is an obsolete version of
AssignFile
. The latter should always be used.
Related commands
AssignFile
Assigns a file handle to a binary or text file