Hi,

Am Montag, 15. Jan 2007, 20:30:08 +0900 schrieb Josselin:
> I got the following error :
> 
> parse error, unexpected tUMINUS_NUM
> 
>  userCredential.flagged? ? return -1 : return 1
> 
> what's wrong ?

when saying

  userCredential.flagged? ? (return -1) : (return 1)

or even

  userCredential.flagged? ? begin return -1 end : begin return 1 end

you will probably see that the return statement is definitely in the
wrong place.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de