Wow, there is so much wrong with this example that I don't even know where
to start.  Expose exposes instance variables of an object, it does NOT give
access to the caller's variables.  Methods of an object instance share
access to those variables by using expose.  Here is a simple example of
using expose based on your program:




On Tue, Dec 17, 2013 at 9:21 AM, Sanford Geiger <sanford.gei...@live.com>wrote:

>
>
>   I am having a problem getting EXPOSE to work. The following is a test a
> ran:
>
>
>
>
>
> Code:
>
>      /**  ooRexx test of expose  **/
>
>
> myclass = .tclass~new
>
> myclass~testmethod
>
>   fld3=fld1||fld2
>
>   say fld3
>
>   return
>
> ::class tclass
>
> ::method testmethod1
>
> expose fld1 fld2
>
> fld1="abcdef"
>
> fld2="123456789ZZZ"
>
> ::method testMethod2
>
    expose fld1 fld2

>
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to