On 04.01.2012 10:04, Jean-Louis Faucher wrote:
>
>       * "Parser : Refinement of tokens 'subclass' attribute": unfortunately, 
> I was not able to get
>         to see this. I defined (Windows) RXTRACE_PARSING=ON, but 
> unfortunately it seems that no
>         dumping of the clauses and tokens take place.
>
>
> ah yes, you need the debug version of ooRexx, does not work with the dropbox 
> delivery.
> Under Windows, the output is sent to the debug output.
> If needed, download DebugView (Microsoft Sysinternals).
> You may want to limit the output to the parsing :
> From DebugView, Edit/Filter : Include = (Parsing)
Thanks for the hint at DebugView!

... cut ...

> [now a long digression about yield]
... cut ...

Thank you for these interesting explanations/insights!

... cut ...

> But what I need is not a result, I need the arguments passed to ~resume.
> ooRexx has already all what needed for that, except it works only for the 1st 
> entry in the
> coactivity :
> c = {::coactivity
> use arg arg1, arg2    -- 1, 2
> yield arg1+arg2
> use arg arg1, arg2    -- should be 3, 4
> yield arg1+arg2
> etc...
> }
>
> c~(1,2)=    -- [3]
> c~(3,4)=    -- [7]
> etc...
>
> Currently, the code above can be written like that :
> c = {::coactivity
> use arg arg1, arg2    -- 1, 2
> args = .yield[arg1+arg2]
> arg1 = args[1]    -- 3
> arg2 = args[2]    -- 4
> args = .yield[arg1+arg2]
> etc...
> }
Hmm, very interesting!

---rony

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to