Raised This Month: $ Target: $400
 0% 

How can I turn on and off a function on the best way?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 07-20-2014 , 21:46   Re: How can I turn on and off a function on the best way?
Reply With Quote #1

As Flicker correctly mentioned, I was only giving an exapmle of how you'd do something like this - of course you don't need to store the state in a variable when premade functions are availiable.

Flicker, you can also use the "!"-Operator with integer-values.
mottzi is offline
Send a message via MSN to mottzi
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:06.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode