C
Carlos
Hi all, I have the following event function, and the compiler is having a
problem handling negative constant values. What can be happening? Thanks in
advance..
private void button1_Click(object sender, System.EventArgs e)
{
double dME = 0.0;
if ( CB.SelectedItem.Equals("ME") )
{
//erro happens here.. compile says: Invalid expression term ''
dME = -0.1;
}
}
problem handling negative constant values. What can be happening? Thanks in
advance..
private void button1_Click(object sender, System.EventArgs e)
{
double dME = 0.0;
if ( CB.SelectedItem.Equals("ME") )
{
//erro happens here.. compile says: Invalid expression term ''
dME = -0.1;
}
}