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

[REBOL] Re: TO vs MAKE

From: g:santilli:tiscalinet:it at: 25-Jun-2003 17:58

Hi Anton, On Wednesday, June 25, 2003, 5:22:22 PM, you wrote: A> Can you show examples of DO and MAKE A> using different numbers of arguments?
>> make block! 10 ; two arguments
== []
>> make function! [spec] [code] ; three arguments >> do :f 1 2 ; three arguments
== 3 The one about DO looks at first debatable, but if you think about it, you'll see that it is a special behaviour indeed, whether you consider the other arguments as being taken by DO or not. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r