Raised This Month: $ Target: $400
 0% 

Constant in if statements?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Erox902
Veteran Member
Join Date: Jun 2009
Location: Never Never Land
Old 08-04-2011 , 12:52   Re: Constant in if statements?
Reply With Quote #4

Quote:
Originally Posted by Bugsy View Post
Could use bit field, not sure what exactly youre doing but its just an idea. You are limited to using a min of 0 and max of 31 but you can extend it with a little more code. Let me know if you have any questions.
Acually bit wise seems kind of hard. What I'd like to do is just check if the variable is any of the numbers inside the constant. And if it returns true send a fuction.
Erox902 is offline
 



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 03:19.


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