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

[REBOL] Re: REBOL Assign command.

From: amicom:sonic at: 28-Dec-2002 9:14

Ed, You can specify optional parameters. But it can cause confusion inside a script unless you specify the bounds of the evaluation (like inside a block).
>> rebsource: func [dir [any-type!]][if value? 'dir [print dir]] >> rebsource
== none
>> rebsource "."
.
>>
Have fun! Bohdan "Bo" Lechnowsky Lechnowsky Technical Consulting At 09:03 AM 12/28/02 -0700, you wrote: