View Single Post
  #5   Spotlight this post!  
Unread 05-02-2013, 16:08
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Programmatically Toggling a Boolean Control

Can't directly break into a while loop while it's running. New values won't pass through it's borders
It alone decides when it's done.

You could set a Global variable in a parallel task (i.e., not a check that is linked to the loop in any way) that gets read within the loop.
Here's your example using that. (Adding Global Variables )
Attached Thumbnails
Click image for larger version

Name:	GlobalExample.png
Views:	241
Size:	42.8 KB
ID:	13814  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 05-02-2013 at 16:30.
Reply With Quote