I am modelling the Murcielago in Maya 2013 and when I am making the toggle from front to rear views I get this error:
// Error: if(('modelPanel -q -cam modelPanel3')=="rear")
//
// Error: Line 1.5: Syntax error //
// Error: }; //
// Error: Line 4.1: Syntax error //
// Result: scriptEditorPanel1Window|TearOffPane|scriptEditorP anel1|formLayout42|formLayout44|paneLayout1|formLa yout45|tabLayout2|formLayout46|cmdScrollFieldExecu ter1 //

the code I am inputting is:
if(('modelPanel -q -cam modelPanel3')=="rear")
{
modelPanel -e -cam front modelPanel3;
}
any help would be greatly appreciated thank you