Each file identifies which other files are required using the
::REQUIRES directives.  Each file only has visibility to those other
files that it identifies as needing.  Since each element identifies
only the bits it needs, it avoids potential naming conflicts with
other files that might be in use.

Rick

On Thu, Jun 30, 2011 at 6:14 PM,  <[email protected]> wrote:
> I have four .rex files, each with a different set of ::requires directives.
> The four files refer to one another, all four are part of a single
> application, and all run in the same process. In fact they are the files
> attached to my last post "An Edit Control that accepts only decimal
> numbers".
>
> However, if I place all the "::requires" directives in the first file to be
> loaded (i.e the file I start from the command line) and comment out the
> "::requires" directives from the other three files, I get errors resulting
> from classes not found.
>
> I had thought that the ::requires directive applied throughout the executing
> process, but apparently not.
>
> Can anyone tell me precisely how the "requires" directive is applied at
> run-time when a single app consists of multiple files?
>
> Many thanks,
> Oliver
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Oorexx-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to