fcopy
fcopy |
Purpose
Synopsis
procedure fcopy(namesrc:string|text, namedest:string|text)
procedure fcopy(namesrc:text, opts:integer, namedest:text, optd:integer)
Arguments
|
namesrc
|
The name of the file to be copied
|
|
opts
|
Open options for the input file
|
|
namedest
|
The destination name
|
|
optd
|
Open options for the output file
|
Example
The following statement appends file
"src" to file
"dst":
fcopy("src",0,"dst",F_APPEND)
Further information
1. This procedure copies the file
namesrc to
namedest (that is replaced if it already exists). The provided names may use extended notation.
2. With the second form of the procedure it is possible to select options used to open the 2 files (as used with the
fopen procedure). The first syntax corresponds to:
fcopy(src,F_SILENT+F_BINARY,dst,F_SILENT+F_BINARY)
fcopy(src,F_SILENT+F_BINARY,dst,F_SILENT+F_BINARY)
Related topics
Module
© 2001-2019 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation ("FICO"). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.
