*open-rename-suffix*

$Revision: 5.0.2.5 $

Variable

Package: EXCL

This variable and the variables excl:*open-rename-prefix* and excl:*open-rename-function* work together in renaming a file opened with cl:open with the direction keyword argument either :output or :io and the if-exists keyword argument either :rename or :rename-and-delete. The function that is the initial value of excl:*open-rename-function* renames the existing file by prepending the value of excl:*open-rename-prefix*,   moving the current file type into the filename, and making the value of this variable the new file type.

The initial value of this variable is the string "bak" and that of excl:*open-rename-prefix* is the empty string "". If all three variable have their initial values, the file foo.txt will be renamed foo.txt.bak (with filename foo.txt and file type bak).

See 5.1 Extensions to cl:make-package, cl:disassemble, cl:open in implementation.htm for information on the implementation of cl:open.

The general documentation description is in introduction.htm. The index is in index.htm.

Copyright (C) 1998-1999, Franz Inc., Berkeley, CA. All Rights Reserved.