Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] getting and passing a function's CURRENT arg block

From: moliad::aei::ca at: 16-Nov-2003 17:02

the subject might be misleading, I'm not sure how to formulate it. I'm this must have been discussed before. What I wish to do is propagate my arguments to another func with the same arg template, including refinements. example: a: func [arg1 arg2 /option val][ print "yahoo" ] b: func third :a [ ; insert code here print "yes sir!" either option [ a arg1 arg2 /option val ][ a arg1 arg2 ] ] now in b I don't want the 'EITHER, cause every other refinement adds a binary amount of possible combination. The function I have has 13 refinements... 106496 different combinations.. the function I must "improve" is a native, so I can't just source it and re-implement it. I really need to add some stuff before it, and then let it do its stuff with all the refinements as if it had been called directly... what's the best/fastest course of action? THANKS IN ADVANCE! -MAx