Trace results are interesting for quote function in R2

x: 5
quote x
Trace:  quote (word)
Trace:  return (word)
Trace:  get/any (path)
Trace:  'value (lit-word)
Result: 5 (integer)
Result: (error) ;???
Result: 5 (integer)
=3D=3D 5

quote :x
Trace:  quote (word)
Trace:  return (word)
Trace:  get/any (path)
Trace:  'value (lit-word)
Result: :x (get-word)
Result: (error)
Result: :x (get-word)
=3D=3D :x

;y is undefined
quote :y
Trace:  quote (word)
Trace:  return (word)
Trace:  get/any (path)
Trace:  'value (lit-word)
Result: :y (get-word)
Result: (error)
Result: :y (get-word)
=3D=3D :y

quote y
Trace:  quote (word)
Trace:  return (word)
Trace:  get/any (path)
Trace:  'value (lit-word)
Result: (unset)
Result: (error)
Result: (unset)
;returns unset!

probe quote y
=3D=3D unset!

Thu, 02 Dec 2010 18:23:00 +0200 tarihinde Ladislav Mecir <[email protected]=
z>  =

=FE=F6yle yazm=FD=FE:

>
> Dne 2.12.2010 17:17, Semseddin Moldibi napsal(a):
>> @Ladislav: Why quote function acts different in R2?
>
> You have it right, eddo. Unfortunately, we don't have a proper QUOTE
> function in R2, neither I am able to define it so, that it works as in=

> R3. The fact, that QUOTE works well in R3 is caused by the improvement=
s
> Carl built into R3, but these are missing in R2.
>
> -Ladislav
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to