> REQUIRE name
>
> The name is modeled on the relation between INCLUDED and
> INCLUDE, and also on Emacs Lisp's require. However, this word
> has been implemented under other names: NEEDS in various
> systems, REQUIRES in PFE and MPE's systems.
> * Both Forth.com's Swiftforth and MPE's ProforthVFX have
> defined `requires` as the selfparsing version of `required`,
> and they use it. PFE will adopt this in the next version (>
> 0.30.30)
In MPE Forths, REQUIRES refers to the module mechanism. However,
since REQUIRED and REQUIRE do not produce a name conflict, I can
live with these names.
As others have noted, mandating the use of INCLUDED rather than
its functionality may raise issues.
In order to ease use of library code, it may be as well to
consider specifying how the following items are handled when the
file/source is INCLUDED:
BASE decimal?
search order
...
Stephen
--
Stephen Pelc, stephen@...
MicroProcessor Engineering Ltd - More Real, Less Time
133 Hill Lane, Southampton SO15 5AF, England
tel: +44 23 80 631441, fax: +44 23 80 339691
web: http://www.mpeforth.com - free VFX Forth downloads