Sujet : Re: Using include-file
De : ruvim.pinka (at) *nospam* gmail.com (Ruvim)
Groupes : comp.lang.forthDate : 26. Oct 2024, 06:19:03
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vfhu48$3j9uj$1@dont-email.me>
References : 1 2 3 4 5
User-Agent : Mozilla Thunderbird
On 2024-10-24 10:32, Anton Ertl wrote:
Ruvim <ruvim.pinka@gmail.com> writes:
Also, `REQUIRED` does not load a file that was loaded by `INCLUDED`.
`INCLUDE-FILE` is free of that too.
Yes, but why would anyone use REQUIRED or REQUIRE on a file that he
intends to include even if it has been INCLUDED before?
This can be in different modules, and one module does not know about details of another.
If you include a file into a separate word list within a special context, you might not want to prevent that file from being loaded by `require` into another word list (and in another context).
-- Ruvim