Advertisement
6_2008-2009 Math/ Dates #196135

Better IsOdd

Tell if a number is odd in one line of code. (and if its not odd its even, but i dont have to tell you that)

AI

Resumen de IA: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Código fuente
original-source
Function IsOdd(Var as integer)
IsOdd = -(Var And 1)
End Function
Comentarios originales (3)
Recuperado de Wayback Machine