Why i cannot use this, array[-1] as last array value?
Endercraft Moderator (& bug finder :D) Feb 5, 2024 #2 When you do this you are selecting the key -1 and not the last one. To get the last assuming your array has numbers from 0 to whatever without any missing number store [size=array]-1 into an int var then use array[[lv=int]].
When you do this you are selecting the key -1 and not the last one. To get the last assuming your array has numbers from 0 to whatever without any missing number store [size=array]-1 into an int var then use array[[lv=int]].