Array selection

To add comments, please log in or register
FiaMeta5admiral
1181
FiaMeta5admiral  
Arr_1[];

Arr_2[];

Arr_3[];

..................

Arr_99[];

it is possible to approach something like this

   int nar = 2;

   ArrayResize("Ar_"+nar, 1);
instead of this 
 ArrayResize(Ar_2, 1);

To select which array we are working with

Fernando Carreiro
4740
Fernando Carreiro  
FiaMeta5admiral: it is possible to approach something like this ... instead of this  ... To select which array we are working with

No it is not possible! Instead, consider using only a single array of a "structure" instead of multiple arrays.
To add comments, please log in or register