VariablePackage: exclToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1

*open-rename-prefix*

This variable and the variables *open-rename-suffix* and *open-rename-function* work together in renaming a file opened with 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 *open-rename-function* renames the existing file by prepending the value of this variable, moving the current file type into the filename, and making the value of *open-rename-suffix* the new type.

The initial value of this variable is the empty string "" and that of *open-rename-suffix* is the string "bak". 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 Extensions to cl:make-package, cl:disassemble, cl:open in implementation.htm for information on the implementation of open.


Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1