[REBOL] Re: What does "loop" return?
From: valeri:mytinski:g:mail at: 5-Apr-2009 10:19
05.04.2009, =D7 9:00, Graham Chiu =CE=C1=D0=C9=D3=C1=CC(=C1):
> 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
>
Yes, I see what is happening. I read code:
loop 2 [append [] 3]
as "do 2 times block of code [append [] 3]". Apparently this is not
right.
Could you please suggest some rule for reading?
Valeri=