|
When the
Scheme AIDE application starts, it automatically looks for an initialization file of Scheme procedures called
acisinit.scm.
Scheme AIDE searches your current working directory first, then your home directory, then the directories specified by the environment variable
LOADPATH. If
Scheme AIDE finds this file, it loads the file and does not search the remaining directories. This file can be used to execute commands to initialize your session, such as setting pathnames or loading commonly used Scheme procedures into memory.
|
|
|
An example
acisinit.scm file is in your installation set. This file is located in the directory
<install_dir>/scm/examples (the
examples directory), along with other sample Scheme procedure files. To use this sample initialization file, copy it to your home directory, or the working directory from which you will run
Scheme AIDE. Since this sample file loads other Scheme procedure files from the
examples directory, you should modify your copy of
acisinit.scm to start with a command that sets your
loadpath to include the
examples directory.
|
|
|
The following command (for a UNIX platform) illustrates this:
|
|
|
(set! load-path (list "<install_dir>/scm/examples"))
|
|
|
You must substitute <install_dir> in the above example with the name of your root installation directory.
|
|
|
Note
|
If you use this sample initialization file, a view window will be created automatically when you start Scheme AIDE.
|