[REBOL] Re: Antwort: Re: Strange "HEAD" behaviuor
From: petr:krenzelok:trz:cz at: 8-Nov-2000 11:14
> I guessed as mich :-) donīt you think that its buggy logic from REBOL? I
> thought it would be logical to write " HEAD series" just as the
> the help docs states
It's not buggy and yet docs are all ok :-)
Look - head is a function - it returns its value. If you don't assign the value to any
word - it just returns its value to console :-)
->> head? ["a" "b" "c"]
->> head? tail ["a" "b" "c"]
->> head? head tail ["a" "b" "c"]
here head? checks for the returned value ....
Andrew is right, just reassign the value of word referring to series ...