Syntax has me baffled
I need to run two numeric variables through a series "IF statements"...??? Unless there's a better way...
Here are my parameters... ( I do realize that what I'm typing in the code below is in NO WAY proper syntax, I'm just trying to ensure that I'm explaining myself clearly)
IF $x is even
AND $y is even ( do nothing)
IF $x is odd
AND $y is odd ( do nothing)
IF $x is even
AND $y is odd ( $y = $y+1)
IF $x is odd
AND $y is even ( $y = $y+1)
I've run into a wall here and need a helping hand.
Thanks!
Tom