I'm trying to make sure I fully understand the new features in 4.0.0 and 
the first one I'm playing with is ::constant.  I've read over the 
documentation and tried to code the equivalent functionality in 3.2. 
Here is what I came up with:

If in 4.0.0 I write
::class golden

::constant phi 1.618

then that should be the same as
::class golden

::method phi class unguarded
     return 1.618

::method phi unguarded
     forward to (self~class)

Is this correct or have I missed something?
-- 
Gil Barmwater

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to