Hi Subhra
Put the test in parens like this:
if (a = 0) [etc. ..
Larry
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 20, 1999 1:47 PM
Subject: [REBOL] dumb problem!!
> i know i am shit in programming !!!
> and this is a very dumb problem.. but i cant see the mistake!!!! sorry!!!
> whats wrong???
>
> ************************
> a: 100
> arbit: func [] [
> print a
> if [ a = 0 ] [
> print [ "this is true "]
> return true
> ]; end if
>
> print "this is false"
> return false
> ]
>
>
> emp: arbit
> print emp
>
> *******************************
> this is the answer i get ......
>
> ******************************
> 100
> this is true
> true
> *****************************
>
> i am fed up...... pl. dont flame me up this time ....