RemoteDebug icon indicating copy to clipboard operation
RemoteDebug copied to clipboard

if/else doesn't work (macro problem?)

Open mark-hahn opened this issue 6 years ago • 0 comments

Describe the bug

this code can never output "x=0"

if (x == 1) debugD("x=1");
else        debugD("x=0");

but this code works

if (x == 1) {debugD("x=1");}
else        {debugD("x=0");}

To Reproduce Run code snippets above.

mark-hahn avatar Jul 18 '19 02:07 mark-hahn