Each array child needs to be of same type?

Evidence

User “Labile_ philo” maxime came in to discord claiming he is getting error message that every child in array needs to be of same type
I just could not believe so i asked for screenshot
He provided and i did check it just to be sure

And as my screenshot on top shows he was 100% right
Even so we can stil declare these variables what is going on with that message?

Array items need to be the same type mostly so the app knows how to handle mathematical operations. 2+2 is 4 but “2” + “2” is “22”

Maybe,the array line itself could have the format and the the children would just be values. IDK.

WELLLLLLLLLLL

For me matter of why it says “MUST BE SAME” is more striking here

Whatever is the answer it does look strange

1 Like

What gets me is that the child type needs to be set at the child level. If they must all be the same, then it’d be better to define the array’s children type at the array level, not the child level.

Ow like instead
Create apple
Change apple color to red

More sense would be
Create red apple

Didn’t think of that

BUT actually it does make sense
IF we should have them all same type then we should define array type
And not per child type