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

[REBOL] Re: Highfun

From: lmecir:mbox:vol:cz at: 20-Nov-2001 0:18

Thanks for feedback, I included your example to highfun.r << What I mainly wanted was you to try if the new /N refinement of APPLY works as you expect it to. I suppose you did. >> <<Gregg>> I tried it with basic named arguments and it worked fine. I played a little bit and couldn't figure out if I could, or how, to use both /r and /n together. For example, given the folowing function: test-fn: func [a b /ref-c c /ref-d d] [ print ["A:" a] print ["B:" b] if ref-c [ print ["/C:" c] ] if ref-d [ print ["/D:" d] ] ] Could I specify both /ref-c and /ref-d, but then supply *their* arguments as named arguments or do named arguments apply only to standard function parameters. --Gregg