Equations in SW 2012

What's wrong with this equation:

"Z" = if ( "X" = 1 , 1 , if ( "X" = 2 , 2 , 2 ) )

give me a "wrong syntaxis"

Message was edited by: Oleg Bezyaev

SolidworksParts And Features