On 10/27/05, Silvia Brandimarte <[EMAIL PROTECTED]> wrote: > Hi everybody! > > I know it can sound a bit silly, but I'm going crazy trying to understand > how exactly work litteral words. > > > > If I write: > > >> a: 'b > > =3D=3D b > > > > So : > > >> a > > =3D=3D b >
Right. When a lit-word is directly in code, it it transformed in a normal w= ord. (Its not if you get it from a block, !> first ['b] =3D=3D 'b ) > > > Suppose b has not yet a value: > > >> b > > ** Script Error: b has no value > > ** Where: halt-view > > ** Near: b > > > > Now if I do this: > > >> set a "" > > =3D=3D "" > > > > Why if I make this: > > >> a > > =3D=3D b > > >> b > > =3D=3D "" > > I've this results? Why b got the value set for a? And a is still b? because it is the same as set 'b "" "set" wants a word to put something in. In my example 'b is transformed to a normal word, "set" gets b and puts "" = in. In your example "b" is fetched from "a", "set" gets b and puts "" in. Thats what you see. > > > > Please let me understand, I'm totally stuck! > > Thank you, Silvia > > > > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject. > > -- -Volker "Any problem in computer science can be solved with another layer of indirection. But that usually will create another problem." David Wheeler -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
