column = column >= (numberOfColumns - 1) ? 0 : ++column
I am trying to increment my column variable through a ++
sign but it's now deprecated. What is the perfect sign for this increment?
I have tried both column++
and column += 1
. Though it works under a normal if-else condition, I want to implement this through an inline condition.