Overloading Keywords

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Overloading Keywords

ThSITC
Hi Tom, Bill, all:

1.) I think we shall *open* a new  TOPIC on this discussion. When you don't like, ok, accepted
2.) As said, I did investigate this snippet *only* because of the *say* after the *exit* in the snippet shown!
3.) Did meanwhile read the whole full conversation, including Bill's and Mike's point of views,
and shall *experiment* with this, with programns Bill_3.nrx, ...
... but *not* today, as it's Sunday, today, even in Vienna, Austria, and from time to time I also want
to do something else then programming ;-)

Thomas.
================================================================================
 

Am 17.03.2013 16:18, schrieb Tom Maynard:
On 17/3/13 9:59, Thomas Schneider wrote:
Your program...does *not* compile

Perhaps that's because you didn't try to compile **the actual program**.  You obviously didn't read the original note very thoroughly, Thomas.  That's too bad.

You missed the most important part:

And here is the rest of the program (not shown above):
...
-------------------- snip (what has been omitted here?) ----------------------

/* Method with the same name as leave keyword */
method leave static
--say "Leave method entered"

/* Method with the same name as exit keyword */
method exit static
--say "Exit method entered"

------------------------------------------------------------------------------------

If you try again with the actual program, as given, you'll have much "better" results.

Tom.



_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/



--
Thomas Schneider, IT Consulting; http://www.thsitc.com; Vienna, Austria, Europe

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com