View Single Post
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 #7

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