Sorry Luca, but I noticed an abnormal behaviour about value? Look at the following code:
>> a: make object! [ q1: 100] >> value? 'a/q2 =3D=3D true It seems Rebol cannot correctly get info about a word inside an object. I even tried the following code: >> value? a/'q2 ** Script Error: Invalid path value: q2 ** Where: halt-view ** Near: value? a/'q2 My problem is the words I need to check if they are assigned, they are contained in an object. How can I solve? On 5/6/06, Alessandro Manotti <[EMAIL PROTECTED]> wrote: > That's is what I was looking for! > > Thank you! > > > > --Alessandro > > > > > On 5/6/06, Luca Truffarelli <[EMAIL PROTECTED]> wrote: > > > > > I need to check if a variable (word) is assigned, how can I do? > > > > > > Example: > > > > > > > a: 100 > > > > > > > assigned? a > > > true > > > > > > > assigned? b > > > false > > > > 'value? is what you are searching... > > > > >> value? 'aa > > =3D=3D false > > >> aa: 1 > > =3D=3D 1 > > >> value? 'aa > > =3D=3D true > > >> > > > > > > -- > > To unsubscribe from the list, just send an email to > > lists at rebol.com with unsubscribe as the subject. > > > > > -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
