Hi,
I’m having some trouble defining a three dimensional array:
quad = {{0,0,0,0,0,0,0,0},{0,0,0,0,0,0,0,0},{0,0,0,0,0,0,0,0},{0,0,0,0,0,0,0,0},{0,0,0,0,0,0,0,0},{0,0,0,0,0,0,0,0},{0,0,0,0,0,0,0,0},{0,0,0,0,0,0,0,0}}
universe = {
{{quad},{quad},{quad},{quad},{quad},{quad},{quad},{quad}},
{{quad},{quad},{quad},{quad},{quad},{quad},{quad},{quad}},
{{quad},{quad},{quad},{quad},{quad},{quad},{quad},{quad}},
{{quad},{quad},{quad},{quad},{quad},{quad},{quad},{quad}},
{{quad},{quad},{quad},{quad},{quad},{quad},{quad},{quad}},
{{quad},{quad},{quad},{quad},{quad},{quad},{quad},{quad}},
{{quad},{quad},{quad},{quad},{quad},{quad},{quad},{quad}},
{{quad},{quad},{quad},{quad},{quad},{quad},{quad},{quad}}
}
If I try to access universe[1][1][1] it blows up… I think my declaration is wrong, but I don’t know where.
Thanks, Greg