Raised This Month: $ Target: $400
 0% 

Static vs New


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 12-06-2015 , 20:56   Re: Static vs New
Reply With Quote #1

There's plenty of literature out there as this is not specific to Pawn. If you are familiar with global variables, think of a static variable as a local global variable, having a local scope only to the function where it is declared.

https://en.wikipedia.org/wiki/Static_variable
__________________

Last edited by Bugsy; 12-06-2015 at 21:06.
Bugsy 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 18:10.


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