Mike Dean / Publications
Forum
Help with Bitwise shift left MQL4 book example
char a='a',b='b'; Print ( "Before: a = " ,a, " b = " ,b); //--- shift to the left b=a<<1; Print ( "After: a = " ,a, " b = " ,b); // The result will be: // Before: a = 97 b = 98 // After: a = 97 b = -62 I get that the output of variable b is going to be the binary value of a