Poker_player:
Hello, I do not get what is wrong:
Assigning values to single dimention array works good. But when I want to assing array to array - getting
'rows' - invalid array access
How to assign array to multidimentional array?
Hello,
Il you have multidimensional array you must access with :
rows[0][0] = header[0]; // for example:
remcous:
Hello,
Il you have multidimensional array you must access with :
rows[0][0] = header[0]; // for example:
But that way it would be only one item added.
You mean I need to write loop for each item? In php I would simply assign array. I would expect same here.
But if there is only way to do loop, its better than nothing :) thanks.![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello, I do not get what is wrong:
Assigning values to single dimention array works good. But when I want to assing array to array - getting
'rows' - invalid array access
How to assign array to multidimentional array?