View Single Post
  #3  
Old 04-11-2009, 10:06 AM
durf durf is offline
Member
 
Join Date: Feb 2009
Posts: 61
Is there a way to use the same key to turn on and turn off the same function?

IE. If I hit 'a' to enable def calculate() then I hit 'a' again to disable def calculate().

I have the idea I think for it. Which would be to have a bool value and then change it from true to false and have if else statements to check it. Could be wrong thats why Im asking.
Reply With Quote