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

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

From: valeri:mytinski:gm:ail at: 5-Apr-2009 8:45

04.04.2009, =D0=B2 23:54, Gregg Irwin =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0): Thank you, Gregg.
> =C3=82=C3=8C> (seems like last evaluated value). > > Correct. > > =C3=82=C3=8C> So there are some questions: > =C3=82=C3=8C> - is that desirable ? > > What else would you suggest they return?
For example: series of all evaluated values ;-) So loop 2 [append [] 3] == [[3] [3]] and loop 2 [3] == [3 3]
>>> loop 2 [append [] 3] > == [3 3] > >>> append append [] 3 3 > == [3 3] >
Why "append append [] 3 3" not "append [] 3 append [] 3"? I do not understand this point. Valeri=