Raised This Month: $ Target: $400
 0% 

What is the difference in the way these variables are declared?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
thEsp
BANNED
Join Date: Aug 2017
Old 10-07-2023 , 06:26   Re: What is the difference in the way these variables are declared?
Reply With Quote #9

Quote:
Originally Posted by Leech_v2 View Post
Because in actual testing, 'new' can be combined with 'public', 'static', and 'stock'.
That's why I have questions
static allocates a variable but doesn't guarantee to free it in the end of the body. public does what it says - exposes the variable to the virtual machine. stock is nothing special it just tells the compiler to discard the following identifier if it's never used.

Quote:
Pawn is a dead language for several years...
Since you're that smart guy why don't you go ahead and create a new magnificent language, compiler and runtime?
thEsp is offline
 


Thread Tools
Display Modes

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 10:12.


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