On 31.07.2014 13:44, Rick McGuire wrote:
> FindClass is a thread context API, which is invoked outside of the context of
> any running code.
> As such, it is limited to locating those classes that are provided by the
> system (i.e., in
> .environment). FindContextClass performs the same sort of search that would
> occur in any piece of
> Rexx code where it can find any classes defined in your package as well as
> any public classes
> pulled in by other packages that code has loaded (via ::requires, for
> example).
Ahh, thank you very much!
---rony
>
> On Thu, Jul 31, 2014 at 7:38 AM, Rony G. Flatscher <[email protected]
> <mailto:[email protected]>> wrote:
>
> What is the differenct between FindClass() and FindContextClass()?
>
> The documentation for FindClass() says: "Locates a Class object in the
> current thread context."
>
> The documentation for FindContextClass() says: "Locate a Class object in
> the current Method or
> Routine Package context."
>
> Both functions are available for native routines. The (public) class that
> cannot be found by
> FindClass() is defined in the package that invoked the native Rexx
> routine. Actually the
> native Rexx
> routine is called from methods of that class, that cannot be found.
>
> FindContextClass() will find that (public) class.
>
> ---rony
>
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel