somefunc: func [
  'param [word!]
][
 ; do stuff with param
]

Well, it turns out that instead of the awkward expression like
   do reduce [:somefunc someword]

I can simply use this:
  somefunc :someword

I had never used the : with anything but the word for a function,
not a word for another word.

It gets the value without evaluating it further, and for some reason reduce by
itself
doesn't do that:
  somefunc reduce someword
Oh, I see!  The word 'reduce is itself being passed without evaluation!
Wild !!!

-galt

Thanks to any of you who are busily composing the answer to my last question!


Reply via email to