Variable | Package: excl | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## *open-rename-suffix*

This variable and the variables `*open-rename-prefix*` 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 `*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 `*open-rename-prefix*` is the empty string "". If all three variables 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version