Procedure ListingFileCopy(toFileName, overwrite)

ListingFileCopy

With the procedure ListingFileCopy you can copy the current contents of the listing file to a given file.

ListingFileCopy(
     toFileName,         ! (input) string expression
     overwrite           ! (optional) default 1.
     )

Arguments

toFileName

The file name of the file to which the contents of the listing file must be copied.

overwrite

if equal to 0 then do not overwrite an existing file, otherwise overwrite an existing file when needed.

Return Value

The procedure returns 1 on success, or 0 otherwise.

See also

The procedure ListingFileDelete.