What is the difference between adding 'new' and removing 'new'?
What I want to know is the purpose of using 'new' in combination with other specifier.
As far as I know, the feature of 'new' is that it allows declared variables to use runtime expressions as initialization expressions. However, runtime expressions cannot be used outside of a function, so I am wondering why it can be combined with other specifier?
Code:
new stock gVar;
stock gVar;
new static gVar;
static gVar;
new public gVar;
public gVar;
new static stock gVar;
static stock gVar;