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

[REBOL] Re: ?

From: brett:codeconscious at: 11-Jan-2001 11:56

The trick is to use a literal notation for the parameter to the function when creating the function.
>> myfunc: func[ 'uneval-param ][ print mold uneval-param ] >> myfunc test
test The literal notation ( a tick before the word) informs Rebol that we want the parameter passed to the function literally as opposed to being evaluated prior to passing into the function. There maybe a better explanation in the manual. Just look for the section on functions. Brett.