im trying to compile mql4 file into ex4 in the metaeditor but it gives me an error " variable already defined "

 
  1. Don't add an image, just paste the code using SRC
  2. You have a variable named "i" somewhere above that "already defined."
 

i dont see no i variable previous to that .

what can i do?

 
Yosef Erenreich: i dont see no i variable previous to that. what can i do?
It is impossible difficult for us to be able to help you if you don't show your code.
 
Yosef Erenreich:

it shows that line.

picture attached

You probably need to use following property identifier at the beginning of your code:

#property strict
 

thanks . it was the property strict

 

thanks god

 
Mohammad Hossein Sadeghi:
You probably need to use following property identifier at the beginning of your code:

#property strict
Seems you are god. :-D
 
Alain Verleyen:
Seems you are god. :-D
It only seems :)
The god I believe in, is Allah.
 
Yosef Erenreich:

thanks . it was the property strict

You're welcome.
Reason: