Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.778 Beiträge
 
#1

Weird code snippet #1: Pseudobinary case statement

  Alt 8. Jul 2011, 22:10
Curt Carpenter suggested a language addition for handing binary case logic.That gave me this idea. Chalk it up as another weird code snippet from yours truly.///> Convert array of booleans to a pseudobinary integer. ///Good for up to 12 bits.function BoolToInt(B: ...

More...
  Mit Zitat antworten Zitat