[REBOL] Re: Block vs List
From: rotenca:telvia:it at: 19-Jun-2004 20:32
Hi Patrik,
> Is there a command that can be used on a block and cannot be used on a
> list?
All action! which can work with block! can work also with list! and hash!.
But there are many native! and function! which are different:
1) set
l: make list! [1 2]
b: make block! [1 2]
set [a b] b print [a b]
set [a b] l print [a b]
2) list! and hash! cannot be filled with code to execute. Every command which
requires a block to be executed does not accept a list! or an hash!.
Functions that require a block! for some parameters and do not accept a series
are many dozens.
---
Ciao
Romano