Raised This Month: $ Target: $400
 0% 

the most noob question EVER MADE


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 06-06-2009 , 16:40   Re: the most noob question EVER MADE
Reply With Quote #8

Quote:
Originally Posted by Atspulgs View Post
i saw someone actually doing this

#define someVar

if some condition is true.

and then later do this
#if defined someVar
do something
#endif

i like this way of checking ons or offs better.
Those are pre-compiler directives that only check the conditions at compile-time. They take no action on changes that happen while the plugin is running.
__________________
Bugsy 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 13:50.


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