== indicates the final result of the evaluation performed

see this....
>> res: print 5 + 5
10
** Script Error: res needs a value.
** Where: res: print 5 + 5

print does not return a value (instead it has a "side effect" in respect of
the evaluation, which is to output to the standard output)

compare this with probe....
>> res: probe 5 + 5
10
== 10

probe returns the value it was given and has the effect of outputting to
standard output

try "source probe" at the console and see how my description fits with the
definition of probe.

Brett.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 13, 2000 5:45 PM
Subject: [REBOL] where is the "=="?


> In the rebol command line, some expressions display the result following
"==" sign while some don't.
>
> example:
>
> >> 5 + 5
> == 10
>
> >> print 5 + 5
> 10
>
> In general, when the you get "==" sign before the result?
>
> Rishi
>

Reply via email to