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

[REBOL] Re: What does "loop" return?

From: compkarori::gmail::com at: 5-Apr-2009 17:00

append [ ] 3 returns the value [ 3 ] this value is a block containing the single element 3, and it then becomes the parameter for the next 'append hence append append [] 3 3 but if you do append [ ] 3 append [ ] 3 you are performing the append on two different empty blocks. 2009/4/5 =F7=C1=CC=C5=D2=C9=CA =ED=D9=D4=C9=CE=D3=CB=C9=CA <valeri.mytinski-gmail.com>:
> Why "append append [] 3 3" not "append [] 3 append [] 3"? > I do not understand this point.
-- Graham Chiu http://www.synapsedirect.com Synapse - the use from anywhere EMR.