New Bug
That seems unlikely...
Time for a test script...
No problem found.
Time for a test script...
No problem found.
//+------------------------------------------------------------------+
//| script program start function |
//+------------------------------------------------------------------+
int start()
{
//----
int n = -10;
int B = 0;
while( n < 2){
if( B < 5 && B > 2){
Print("B = ", B);
}
B++;
n++;
}
//----
return(0);
}
In a IF statement following a WHILE or FOR statment, "&&" or "||" and anything following them is ignored For example:
While(n<2)
If(B<5 && B>2)
In the above example Metatrader will read that as:
While(n<2)
If(B<5)
This should be fixed. thank you.