On Wed, Aug 13, 2008 at 10:14 PM, Ed O'Connor <[EMAIL PROTECTED]> wrote:

> Is there a way to dynamically obtain a refinement value so I can use it in a
> switch statement?
> In the example above, the pseudo-code expression "self/refinement" is what
> I'm looking for.

You can't, refinements are not mutually exclusive in general.

(Refinements should not change the meaning of the function, just
refine its functionality.)

You can use CASE though to do something like what you describe rather easily.

HTH,
    Gabriele.
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to