🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Problem with initializing arrays
Hi~
A problem has been encountered while initializing a global arrays.
class arrTest
{
}
arrTest var;
arrTest@[] arrVar = { @var };
or
string var;
string@[] arrvar = { @var };
However, it works well in local arrays.
void main()
{
arrTest@[] arrVar = { @var };
}
Is this a bug?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement