Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Weird code snippet #1: Pseudobinary case statement (https://www.delphipraxis.net/161561-weird-code-snippet-1-pseudobinary-case-statement.html)

DP News-Robot 8. Jul 2011 22:10

Weird code snippet #1: Pseudobinary case statement
 
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: ...http://feeds.feedburner.com/~r/delph...~4/qBRCgos1Ozk

More...


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:46 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz