Prof A Olowofoyeku (The African Chief) wrote:
BTW: Delphi has a facility for aliasing units: "-A<unit>=<alias>". I think we discussed this quite a while ago. Does gpc now have this feature,
No, but two (partial) alternatives: - Modules with `all' extension (if use is foreseen at module writing time). This exports two equivalent interfaces: module Foo; export Foo = all; Bar = all; end; end. - Uses propagation (make a unit `Bar' which export everything it imports): {$propagate-units} unit Bar; interface uses Foo; implementation end. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: ACB3 79B2 7EB2 B7A7 EFDE D101 CD02 4C9D 0FE0 E5E8