Using '...' on multidimensional arrays with enums
#1

Is this any way of make this working?

Код:
new test[10] = { 1, ... }; // Works :D

enum testEnum {
    name[128],
    surename[128],
};

new test2[10][testEnum] = { {"John", "Smith"} , ... } // Works :D

new test3[2][10][testEnum] = {
{
   {
        {"John", "Smith"},
        ...
   },
   {
        {"Peter", "something"},
        ...
   }
}
// This last one, does not work (compile error)  :'(
Reply
#2

Quote:
Originally Posted by ******
Посмотреть сообщение
Nope.
Is there any specific reason why that is not possible? (Just curious)
Reply
#3

Quote:
Originally Posted by ******
Посмотреть сообщение
Because the compiler doesn't support it...
Do you know any workaround or something like that?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)