Raised This Month: $ Target: $400
 0% 

Difference between static and new.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 10-25-2009 , 04:59   Re: Difference between static and new.
Reply With Quote #1

Quote:
Originally Posted by ConnorMcLeod View Post
There is a snippet by Hawk552 about this.
Wouldn't trust that, since he wasn't ready to debate or even answer to one post to prove himself right.
http://forums.alliedmods.net/showthr...=106358&page=5
SnoW is offline
Send a message via MSN to SnoW
unnyquee
Senior Member
Join Date: Jun 2009
Location: Constanta, Romania
Old 10-25-2009 , 05:58   Re: Difference between static and new.
Reply With Quote #2

So kinda like..
It's more readable and kind of well-coded using (for arrays):
PHP Code:
static szMessage[64]; 
Instead of:
PHP Code:
new szMessage[64]; 
Or am I wrong?
__________________
unnyquee is offline
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 17:32.


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