Raised This Month: $ Target: $400
 0% 

Define, changing values


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 10-15-2005 , 18:16  
Reply With Quote #2

#define's are used to define a word (MAX_SOMETHING) to a value (10). Every time MAX_SOMETHING appears in the script, regardless of whether or not it is used as a variable, it will be replaced with 10. These cannot be changed once they are created. What you want are variables:

Code:
new max_something = 10;
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX 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 23:42.


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