Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bitwise Functions in Clipper '87
Message
De
15/12/2000 18:48:35
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00454280
Message ID:
00454290
Vues:
31
>I have an integer value I need to grab the bits out of. Mind you, in Clipper '87. If anybody knows a way, please let me know.

Chris,
I don't know if Clipper does that directly but every language knows modulus operator. Get Number%2 for the rightmost bit and then divide by 2 to get next. If it's a 32 bits integer repeat it 32 times.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform