Advertisement
7_2009-2012 Math/ Dates #218653

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

KI-Zusammenfassung: 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.

Quellcode
original-source
Function IsOdd(Var as integer)
IsOdd = -(Var And 1)
End Function
Originalkommentare (3)
Wiederhergestellt von der Wayback Machine