03-13-2007 09:17 AM
03-13-2007 09:43 AM
03-14-2007 12:57 AM
03-14-2007 02:07 AM
03-14-2007 09:17 AM - edited 03-14-2007 09:17 AM
Message Edited by James R on 03-14-2007 09:18 AM
03-14-2007 02:40 PM
I have two buttons A and B, and have to compare the difference in hits between them. So do I place an event structure within a while loop for each button (2 buttons, 2 event structures, 2 while loops), or does it need to be one event structure with cases for both buttons whith in one while loop? How do I pass the values of buttons A and B's hit counters out of the while loop in order to calculate the differences between them after each increment, not just the final count after the stop button is hit? How would I make one stop button work to handle both buttons A and B? I tried to place the actual stop button in one button A's structure and its global in B's structure, but It wont seem to let me use a local variable for a latchable control.
Checker.
03-14-2007 05:28 PM - edited 03-14-2007 05:28 PM
Message Edited by JLS on 03-14-2007 05:29 PM