Hi all,

I am using 2 conditional statements, as follows:




if (($vbpcount==1) ||($dspcount==1)) 
{  die "\n\nThe element ($PN) is not allowed to be added to
ClearCase,Because a project already exists.\n";
}

elsif(($vbpcount==1) && ($dspcount==1))
{die "\n\nThe element ($PN) is not allowed to be added to ClearCase,Because
a project already exists.\n";
}

Can i combine both this conditional statements into one single statement?
Because my die statements for both conditions is same.

ja

Reply via email to