I get an error when I use
if ((z == x) || (z == y))
{
But not if I add another set of parentheses as in
if (((z == x) || (z == y)))
{
Why is that?
Thanks
Tom
I get an error when I use
if ((z == x) || (z == y))
{
But not if I add another set of parentheses as in
if (((z == x) || (z == y)))
{
Why is that?
Thanks
Tom
Hi Tom,
I am using Dynamic C 10.64 , i have checked this statement ,it was working fine
with the code
if ((z == x) || (z == y))
{
}
and with this code also
if (((z == x) || (z == y)))
{
}
May i know which version are you using?
Also knowing what error you get might shed some light on the problem.
Regards,
Peter