ArrayIntialize() is probably for one-dimension array.
Write you own code to zero all the elements if you need it.
noranross:
Hi all
maybe someone can help me. i have a simple array just 7 by 4 which when opened has data in it. When I arrayinitialize(levels,0) to 0 it still has data in the elements.
I have it as a double array even though I only want to use integers.
Ross
sorry guys I have found the problem it was my fault
What was your problem? I am having trouble using ArrayInitialize also.

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
Hi all
maybe someone can help me. i have a simple array just 7 by 4 which when opened has data in it. When I arrayinitialize(levels,0) to 0 it still has data in the elements.
I have it as a double array even though I only want to use integers.
Ross