Download (+) Description

Transcript
assign(f, 'README.TXT');
reset(f);
where f is a reference to a file variable.
Portability
Operating Systems:All
Standard Pascal:No
7.4.5 The chdir procedure
Description
The chdir procedure changes the current directory. NOTE: Directories are also called folders.
Parameter
The chdir procedure's only parameter is an expression of string type or char type which is the name of the
directory to change to.
Example
chdir('\irie\samples') changes the current directory to '\irie\samples'
Portability
Operating Systems:All
Standard Pascal:No
7.4.6 The close procedure
Description
The close procedure closes a file variable, and the file or pipe associated with it. Before the file variable is
closed, it is flushed as if the built-in procedure flush was called. NOTE: The file variable must be open
when this procedure is called.
Parameter
The close procedure's only parameter is a reference to the file variable to close.