[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add code from other files
From: |
Emanuel Berg |
Subject: |
Re: Add code from other files |
Date: |
Thu, 04 Jul 2024 21:57:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
uzibalqa wrote:
> I have a main file and three auxiliary files. I can use
> `load` for the auxiliary files and use `provide` for the
> main file. Would this be the correct approach ?
Use `provide' downmost in all your files, and whenever one
function is needed in some other file, you `require' that file
first (topmost) in THAT file.
Is a good way to do it.
If you byte-compile it will tell you, if some file uses
something not defined in that file, and also not require'd
from another where it is.
So you can both find bugs that way and find out what needs to
be required by what.
--
underground experts united
https://dataswamp.org/~incal
- Add code from other files, uzibalqa, 2024/07/03
- Message not available
- Message not available
- Message not available
- Message not available
- Re: Add code from other files, uzibalqa, 2024/07/04
- Re: Add code from other files, uzibalqa, 2024/07/04
- Re: Add code from other files, uzibalqa, 2024/07/04
- Re: Add code from other files,
Emanuel Berg <=
- Re: Add code from other files, uzibalqa, 2024/07/04
- Re: Add code from other files, Emanuel Berg, 2024/07/07
- RE: [External] : Re: Add code from other files, Drew Adams, 2024/07/04
- RE: [External] : Re: Add code from other files, uzibalqa, 2024/07/04
- RE: [External] : Re: Add code from other files, uzibalqa, 2024/07/04
- RE: [External] : Re: Add code from other files, uzibalqa, 2024/07/05
- Re: [External] : Re: Add code from other files, Emanuel Berg, 2024/07/07