From: nonno_lele Date: 2007-03-27T00:45:07+09:00 Subject: Re: syntax error, unexpected kOR On 26 Mar, 17:05, "Jano Svitok" wrote: > On 3/26/07, nonno_lele wrote: > CUT > > > At least using Return and ( ) should work.. > > > def dummy?() > > return (true > > or false ) > > end > > > But it is not. > > Where is my fault? Looks strange to me that an high level language > > forces you to think about in which position you've to put the OR. > > The problem is that interpreter needs to know somehow that the line > should continue. > Putting 'or' or '||' at the end of the line tells it that. Other way > is to use \ as the last character on the line. Err.. in a ideal world the interpreter should understand it cause it finds and open "(" without the closure.. obviusly IMHO :-) thank you for the answer. Cheers, Em.