From: Robert Klemme Date: 2004-02-02T02:34:49+09:00 Subject: Re: Question on the flip/flop op "Michael campbell" schrieb im Newsbeitrag news:401D1B11.1010001@yahoo.com... > Robert Klemme wrote: > > > First of all, you can use FF only in if statements. > > Do you mean "only as a scalar"? FF's work just fine in other statements; "while" comes to mind. Well, yes. I should've included while and the like. But you can't use a FF in "foo = /flip/ .. /flop/": irb(main):013:0> foo = /flip/ .. /flop/ ArgumentError: bad value for range from (irb):13 So ".." and "..." behave differently in a context like "if", "unless", "while" etc. Hope that cleared it up. robert