J
Jason
Hello
I've got a function that will return a ninteger value. If that value is
anything other then 1, 2, 4 I need to report an error
so how would I do this?
I've rtn = function();
if((x != 1) || (x != 2) || ( x != 4))
{
// report error
}
Is this correct logic?
I've got a function that will return a ninteger value. If that value is
anything other then 1, 2, 4 I need to report an error
so how would I do this?
I've rtn = function();
if((x != 1) || (x != 2) || ( x != 4))
{
// report error
}
Is this correct logic?