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

## *load-foreign-types*

The value of this variable is a list of strings which are the suitable file types (or extensions) for files suitable for foreign loading into Allegro CL. The value is different on different platforms. To see the value of a platform you are using, evaluate this variable in a running Allegro CL image.

Because load is used to load Lisp source and compiled files and files containing compiled foreign code (typically libraries of such), it is useful to determine what the file to be loaded contains prior to actually loading it. This is done (as described in Load foreign code with cl:load in foreign-functions.htm) by checking the file type against the list which is the value of this variable.

Even though this is a variable, its value should not be changed without instructions from Franz Inc. You can, however, force a foreign load of a file with an extension not included in `*load-foreign-types*` by specifying a true value for the new (and non-standard) foreign keyword argument to load. See Using the load function in loading.htm for details of the Allegro CL implementation to load.

This variable existed but was not exported in earlier Allegro CL releases.

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