Um, no...referencing a method object does not invoke the object. .METHODS
is just a directory, so you are just doing a lookup on the object. You
need to actually invoke the method using an object target like any other
method.
Rick
On Mon, Oct 21, 2013 at 2:37 PM, hakan <[email protected]>wrote:
> **
> /* rexx */
> Trace i
> Say .methods~HELLO
> Exit
> ::constant HELLO 'The computer says:'
> ---------
> Gives
> 3 *-* Say .methods~HELLO
> >E> .METHODS => "a Directory"
> >M> "HELLO" => "a Method"
> >>> "a Method"
> a Method
> 5 *-* Exit
>
> I expected the say .methods~HELLO statement to return the value of the
> constant HELLO
> /hex
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel