The first place that gets searched is the package that defines the
currently executing code. The package has directory of all the classes that
are defined within that package unit. The search is for any public classes
that are made available by ::requires packages. Only after that are .local
and .environment checked. Each package thus has its own namespace for
resolving classes, avoiding conflicts with other packages.

Rick

On Tue, Oct 12, 2021 at 1:27 PM Gil Barmwater <gbarmwa...@alum.rpi.edu>
wrote:

> When I include a "::class whatever" in my program, any code that uses
> that class is able to find it somehow.  It does not appear that
> "WHATEVER" is placed in either .environment, where the predefined
> classes are listed, nor .local. So how does a reference to .whatever get
> resolved at run time?
>
> Gil
>
>
>
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to