Mark Carter <alt.mcar...@gmail.com> wrote: > I have code where I 'include' other files. Suppose I compile that file. > As part of execution, it will try to load those other files, which isn't > what I want. > > Is there a way of telling chicken that during the interpretation or > compilation, the file should be loaded, but during execution, don't load > the files? >
The `include` form should be what you need here. I don’t really understand the problem you’re having. Could you post a little example of it? Here is how (include "file.scm") should behave: - when compiled, the include form will be rewritten with the content of the specified file - when interpreted, it will behave like (load "file.scm") _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users