[REBOL] Re: paths & lookups & change
From: rotenca:telvia:it at: 24-Oct-2003 18:37
Hi Elan,
> >> db: make object! reduce [ to-set-word "first word" 1 to-set-word
> "second word" 2 ]
but these don't work:
probe do mold make object! reduce [ to-set-word "first word" 1]
probe do mold/all make object! reduce [ to-set-word "first word" 1]
and objects use a little more memory than blocks.
But i agree on the fact that objects are more easy to use than blocks.
For very small blocks of data, i like the form:
db: [id1 [name "Joe" num 32]]
to be read with
db/id1/name
db/id1/num
---
Ciao
Romano