When I compile the compiler return syntax error can't convert ANDAND: FIXED:POINTER:LONG

with this code it is ok or with

Code:
function click_panels_away()
{	
  mouse_mode = 4;
  while(1)
  {
    if (mouse_left && mouse_panel ==1) // left button pressed over panel?
      reset(mouse_panel,SHOW); // remove clicked panel
    wait(1);
  }  
}