From: Robert Klemme Date: 2013-05-08T01:31:12+09:00 Subject: Re: The question about 'Range' as Condition --f46d0447890350fc7204dc235893 Content-Type: text/plain; charset=ISO-8859-1 On Tue, May 7, 2013 at 6:14 PM, Haibin Shi wrote: > > No, it's not, because you change the number of range operators. > But I still do not understand what's the *number* of range operators. > > Is the state of flip-flop only be kept within loop ? > No, the state is attached to a single source code location if you will (and per thread I believe). That's why. In the first case you have 1 instance in the second multiple. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ --f46d0447890350fc7204dc235893 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



On Tue, May 7, 2013 at 6:14 PM, Haibin Shi <syunxi@gmail.com>= ; wrote:
=A0
> No, it's not, because you change the number of range operators.
But I still do not understand what's the *number* of range operat= ors.

Is the state of flip-flop only be kept within loop ?
= =A0
No, the state is attached to a single source code locat= ion if you will (and per thread I believe). =A0That's why. =A0In the fi= rst case you have 1 instance in the second multiple.

Cheers

robert


--
remember.guy do |as, often| as.you_can = - without end
http://blog.rubybestpractice= s.com/
--f46d0447890350fc7204dc235893--