> Hi,
> 
> Actually what you have is a simple typo
> The clue is in the error msg,  it shows x : x + 1 (notice the space between
> the x and the colon)
> 
> With the typo
> >>str: "&"
> >>x: 0
> >> if( str = "&") [x : x + 1]
> ** Syntax Error: Invalid word-get -- :.
> ** Where: (line 1) if( str = "&") [x : x + 1]
> >>
> Now fixed
> >> if( str = "&") [x: x + 1]
> == 1


Hi folks.

I don't wanna get you angry, but a few last lines
convinced me that some I should recommend this
document to your attention: 

http://www.rebol.com/user-guide/style.html

Cheers,
jan

--
Jan Strejcek
[EMAIL PROTECTED]

Reply via email to