Brett Handley said:

> Hi James,
>
> I can't shed any light on it. But I do suggest that rather using MAKE
> OBJECT! directly you use MAKE FACE
> so that you are assured of having the correct View fields constructed
> properly.
>
> There is some evidence to suggest that the View engine interfaces with
these
> objects in a low level way and order of the fields could be important.
Much
> better to follow the convention.
>
> Brett.
>

Yup - was just curious as to why changing the order was causing issues.  I
had a similar problem on another object where a field immediately following
a pair was causing display errors if it was an integer field eg:
Obj1: make object! [
    var1: 0x0
    var2: 1
    var3: make get-style 'face [
        ...
    ]
    ...
]

This would also seem to build correctly but on creating a new object with
make obj1 [] the var3 would be ignored and often weird errors would result -
I had one case where a pair was being assigned to an object, seemingly from
nowhere.  I swapped the order of 2 custom variables I had defined and was
surprised to find that it now worked.

Go figure ;-)


James

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

Reply via email to