Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #37613
| From | "R.Wieser" <address@not.available> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Light on Light off problem |
| Date | 2019-10-23 11:30 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <qop6ka$1301$1@gioia.aioe.org> (permalink) |
| References | <72db4297-267f-49d5-b858-c835a7f7eaa8@googlegroups.com> <qop31t$hvf$1@gioia.aioe.org> <6520f776-416e-42c7-8033-b81922479ef4@googlegroups.com> |
Jonas, > Now you have to find a way to check which switches > that have been pressed and if their ***last state*** is > an on or an off. And I have asked you /why/ you would need to check that state, the last one or otherwise. I even gave you a reason why you /wouldn't/ need too ... > I think you suggest doing it one by one, in this case would > be idiotic. You would need to read thru array 128 times.... If I would have suggested that that would be stupid, yes. But tell me: You wanted to store the lamps that have the "ON" state into a new array. Would you need to go thru the origional array 128 times for that too ? If not, why should you for what I'm suggesting (hint: just exchange the "store in a result array": with "send the OFF command"). But, as you have refused to answer the questions I asked and I have zero wish to fight you to get them I'm going to terminate our conversation. Goodbye. Regards, Rudy Wieser
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Light on Light off problem Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-10-23 00:19 -0700
Re: Light on Light off problem Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-10-23 00:58 -0700
Re: Light on Light off problem luserdroog <luser.droog@gmail.com> - 2019-10-23 01:04 -0700
Re: Light on Light off problem Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-10-23 01:25 -0700
Re: Light on Light off problem Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-10-23 01:29 -0700
Re: Light on Light off problem JJ <jj4public@vfemail.net> - 2019-10-23 15:46 +0700
Re: Light on Light off problem Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-10-23 01:57 -0700
Re: Light on Light off problem "R.Wieser" <address@not.available> - 2019-10-23 10:29 +0200
Re: Light on Light off problem Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-10-23 02:04 -0700
Re: Light on Light off problem "R.Wieser" <address@not.available> - 2019-10-23 11:30 +0200
Re: Light on Light off problem Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-10-23 02:39 -0700
Re: Light on Light off problem Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-10-23 02:44 -0700
Re: Light on Light off problem Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-10-23 03:01 -0700
Re: Light on Light off problem Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-10-23 02:16 -0700
Re: Light on Light off problem Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-10-23 02:31 -0700
Re: Light on Light off problem Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-10-23 03:30 -0700
Re: Light on Light off problem Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-10-23 08:25 -0700
Re: Light on Light off problem "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2019-10-23 12:08 -0700
csiph-web