On Tue, 23 Nov 1999 [EMAIL PROTECTED] wrote:

> 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
> 
> Cheers,
> 
> Allen K

yeah .. y r right .. it was a typo .... thanx ... allen ...

Reply via email to