Raised This Month: $ Target: $400
 0% 

Solved Confusion With Array


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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 offline
 



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 11:39.


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