Hi, all

Is it OK if I post some short Q&A about Rebol to the list for validation ? 
Here is an other example. I will continue depending on the feed back I will get.

How to append a block to a serie or array of blocks ?

Short answer:
Using append/only

Problem illustration:

>> a: array [2 2]
== [[none none] [none none]]
>> b: func [n][compose [(n) (n)]]
>> b 3
== [3 3]
>> append a b 3
== [[none none] [none none] 3 3]

However b 3 returns a block, append will use only the values.


Problem resolution:

>> append/only a b 3
== [[none none] [none none] 3 3 [3 3]]

The /only refinement is an answer to this problem.

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to