Hi Romano.

Right. Looks like a 'mold bug. The mold output in this case is:

== {
make object! [
    first word: 1
]}

Should be:
== {
make object! [
    "first word": 1
]}


Elan.


Romano Paolo Tenca wrote:

>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
>
>  
>



-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to