This error is actually an error for the compiler and I’ll tell ya why. The compiler is looking for an array of type float [1,3,4] and trying to create a new array of type float [0x0,0x0,0x0]. It cannot find that array because size is larger than zero.
Well that’s why you get the error. 0x0,0x0,0x0 is obviously not a valid array size. If compiler doesn’t like that, you’ll get the same error for any array size you try to create.
Yeah, I wish Ill be able to make this clear in the documentation. But Ill do my best to explain it. When you create an array of any size, you don’t have to specify the type of the array. You can just write array = 10 and the compiler will fill that array with the value 10.
And that is why when you do something like array, you will get the error you get. You can do something like array[10.5], which will cause the compiler to fill the array with the value 10.5. So that is why you need to provide a type and not an array size, but otherwise this is true for any array you try to create.
This is why array size is so important. The array size should be a number in the range 1-255. For example, if you want to create an array of size 10, you can write array10=10. And that is why when you do array10.5 it will give you the error you mention above.
Another aspect of array sizes that is particularly important is the number allowed in the array. For example, if you want to create an array of size 10 with a maximum size of 10, you can write array1010.5. The reason for the minimum array size is so that you can use the array’s contents as an array in other expressions. For example, if you want to create a 100×100 array, you can write array10001.
The reason for the array size limit is because you don’t keep track of the number of elements. For example, you could write a list of elements of type [x] with the length of the list to a maximum of 100. The same argument applies to the number of elements and the size of the array. For example, if you want to create a list of elements of type [x] with the number of elements to be 20, you could write if(i.e.
i.e the numbers in the array to be less than the size of the array, but not too small for the compiler to be able to see it.
You could also create an array of size X with a maximum size of 10. I think that’s more readable, but it’s not much worse.