Bug: 'bRc' - variable already defined

 

Given:

int start()
{

bool bRc = false;

{

bool bRc = false;

....

}

So local variables are not local to their block? Unlike C.

 

Local variables are local to their Function . . .

https://docs.mql4.com/basis/variables/local

Reason: