View Single Post
  #3   Spotlight this post!  
Unread 14-01-2014, 13:43
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,169
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: TOGGLE code not working

It would help to see the code. This looks like it should kinda work. You are setting the variable you intend to toggle to zero each time through this code, hopefully it doesn't really work that way. And if you are not using the Toggle variable anywhere the compiler may have optimized (deduced that the value of Toggle does not really matter) the whole thing away.

HTH
__________________
Fast, cheap or working - pick any two!
Reply With Quote