[REBOL] where is the "=="? Re:
From: brett:codeconscious at: 13-Sep-2000 20:35
== 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: <[rishi--picostar--com]>
To: <[list--rebol--com]>
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.