Thread: Arrays in MQL4
View Single Post
  #1 (permalink)  
Old 04-06-2007, 03:46 PM
clippertm clippertm is offline
Junior Member
 
Join Date: Feb 2007
Posts: 7
clippertm is on a distinguished road
Arrow Arrays in MQL4

Hello Everyone!

I am trying to understand how to programme arrays in MQL4. Can you please let me know if my interpretations are correct?

Code:
int data_z[51];
the above declares a single dimension 52 element array of integers with default value 0.

Code:
int data_x[][6];
the above declares declares a two dimensional array, one dynamic, and one of 7 element array of integers with default value 0.

Many thanks,
Reply With Quote