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
int TEST1 [20];
int TEST2 [20][2];
int TEST3 [20][2][2];
ArraySize(TEST1) = 20; Great for 1 dimension arrays
ArraySize(TEST2) = 40; As the is 2 * 20 elements in the array
ArraySize(TEST3) = 80; As the is 2 * 2 * 20 elements in the array
I want to get the number of lines/records in TEST2 and TEST3, so how can I get array size for TEST2 or TEST3 to be equal to 20.
Without be very crude and doing : ArraySize(TEST2)/2 = 20
Thanks in advance
HANG ON.... is this the solution..