To be sure that nothing is wrong woth my array, I've tested with
Code: Select all
task main() 
{
int MyArray[][][][] = {
  {
    {{0, -1},{1, -1}},
    {{2, -1},{3, -1}}
  },
  {
    {{10, 11},{12, 13}},
    {{20, 21},{23, 31}}
  }
};
}Code: Select all
task main() 
{
int MyArray[][][][] = {
  {
    {{0, -1},{1, -1}},
    {{2, -1},{3, -1}}
  },
  {
    {{10, 11},{12, 13}},
    {{20, 21},{23, 31}}
  }
};
}Perhaps he's not from Earth and needs this kind of 4D math to allow him to travel back to his own dimension.P.S., how exactly would having a 4-d array make your life a lot easier?
Users browsing this forum: No registered users and 2 guests