VariablePackage: systemToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

*compile-file-environment*

Use of this variable is deprecated. Use sys:*compilation-unit-environment* instead. This variable does not have a value (boundp applied to it returns nil) but it is defined as a symbol-macro so any reference to it in code (except by symbol name) is automatically transformed into a reference to sys:*compilation-unit-environment*. (Thus (symbol-value 'sys:*compile-file-environment*) signals an error but just evaluating sys:*compile-file-environment* returns the value of sys:*compilation-unit-environment*.) Users are advised to change their references to sys:*compile-file-environment* to references to sys:*compilation-unit-environment*.

Holds the current compile-file environment. It should only ever be set to either nil or to an environment created by sys:make-compile-file-environment.

This environment has a lexical part and a global part; the lexical part is managed by augment-environment and the *-information functions, and the global part is managed by sys:ce-putprop and sys:ce-get. Whenever sys:*compile-file-environment* is set to a compile-file-environment, sys:ce-putprop will store to properties within this environment, rather than in some global manner, for example using (setf get). Also, sys:ce-get will consult this environment and if succesful will return the property stored therein, before then trying to get the property globally.

See environments.htm for more information on environments.


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.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version