Question about arrays

Reaction score
86
Quick question, if I call "set somearray[5] = X" and this is the first time any object in the array is called upon, are objects 1-4 initialized?
 

Romek

Super Moderator
Reaction score
963
No.
 

Romek

Super Moderator
Reaction score
963
mmmkay, thx, didnt want to waste space =(
Variable array values are all independent of each other.
If you have an integer array, setting X[6] to a value will have no effect, whatsoever on X[5], X[1337] or X[8190].
 
General chit-chat
Help Users

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top