I am using cycle operator 'for' in similar example like the one below
for(i=1;i<=255;i++) Print("Number: ",i);
This one should print the numbers from 1 to 255, however it prints the numbers from the number which is different from 1, e.g. 20 and continues up to 255.
It should always start from 1, shouldn't it?
If I use the same example with smaller ending number like
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hello,
I am using cycle operator 'for' in similar example like the one below
for(i=1;i<=255;i++) Print("Number: ",i);
This one should print the numbers from 1 to 255, however it prints the numbers from the number which is different from 1, e.g. 20 and continues up to 255.
It should always start from 1, shouldn't it?
If I use the same example with smaller ending number like
for(i=1;i<=100;i++) Print("Number: ",i);
then it works
I am not sure how it is possible.........