I haven't come up with an 'simple,elegant' solution to this. The more i tried to automate this, the more work it became until in the end it was easier just to deal with all if the refinement cases manually. I did create a passable solution in which I'm able to pass all of the values of a set of refinements to a lower-level function as a block of logic! with only a line or two of code in the high-level function. I can dig it back up if you're interested. - Michael Jelinek [EMAIL PROTECTED] on 08/08/2000 07:05:12 AM From: [EMAIL PROTECTED] on 08/08/2000 07:05 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: [REBOL] Passing refinements to sub functions. Hi list, Often I have a function built on another. Sometimes the lower function has refinement that I want to surface on the higher function. If there is one refinement I just use an either. If there are more this approach becomes a real pain. I've come up the solution of creating an object with the refinements as fields and passing that. But I still have a bit of code creating the object in the first place. An alternative is using a block with set words and values, but I haven't figured how to use this effectively (that is I suspect I need bind but I haven't got it working yet). Has anyone an elegant solution for passing multiple refinements down the line? Brett. -- >> my-rebol-stuff == http://www.zipworld.com.au/~bhandley/rebol
