Raised This Month: $ Target: $400
 0% 

Creating and Deleting Variables at run time?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
The Specialist
BANNED
Join Date: Nov 2006
Old 12-21-2006 , 02:26   Re: Creating and Deleting Variables at run time?
Reply With Quote #7

but your missing the point , read the link i just posted here is a qoute from it . Dyamicly is a bad thing for varaibles , its slow an tedious (quote)

Code:
 
It is important to realize that every variable 
in Pawn is automatically zeroed. For global 
variables, they are static and permanent, 
thus they are zeroed when your plugin is loaded. 
Variables in functions, however, must be zeroed 
dynamically. This is a slow and tedious operation, 
and you should not only avoid relying on it when necessary,
 but you should keep that fact in mind when using arrays.
POINT : Dont use local variables unless you have to , to avoid assignemnt loss etc etc etcc .

Last edited by The Specialist; 12-21-2006 at 02:29.
The Specialist is offline
Send a message via AIM to The Specialist
 



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


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