[EMAIL PROTECTED] wrote:

> The first thing I tried was:
>
> print mold first :test
>
> (notice the 'mold) Which works as expected. Probably is the same thing that
> 'probe does?

->> source probe
probe: func [
    {Prints a molded, unevaluated value and returns the same value.}
    value
][
    print mold :value :value
]
->>

:-)

baj,

-pekr-

>
>
> - Michael Jelinek
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 06, 2000 5:04 AM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] R: [REBOL] Get-word problems
>
> there seems to be problems with the print function
> look :
>
> test: func [x] [x + 3]           ; your function
>
> probe first :test                 ; this is ok
> print first :test                    ; CRASH
> print first first :test             ; this works !!!
>
> y: first :test                        ; this is ok
> probe y                             ; this is ok
> print y                                ; CRASH
> print first y                         ; this works !!!
>
> Maurizio

Reply via email to