Thread: [Solved] Confusion With Array
View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-10-2021 , 18:32   Re: Confusion With Array
Reply With Quote #6

Quote:
Originally Posted by Natsheh View Post
Try this and tell me if it works.

new Array[2] = { 1, 2 };
Array = { 0, 0 };
It works but arrayset() should be used if setting all cells to the same number because it's more scalable and less likely to break when the array is changed in size in the future.
__________________
fysiks is online now