Hello Subhra,
the condition to 'if should not be a block (even though it might be an
improvement idea to allow it).
try
if (a = 0) [
or
if a = 0 [
or
if equal? a 0 [
Best regards
Thomas Jensen
On 20-Nov-99, [EMAIL PROTECTED] wrote:
> 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 ....
>