Page loading

Share your opinion
What do you think about gambaslinux.fr?
 
Interesting
It miss some informations
Excellent website
Results
WIDGETS GAMBAS
GAMBAS 3 SOFTWARES
TUTORIALS
Library
Boolean - Bits manipulations
French only sorry...
Manipulation de Bits

bits.png

La manipulation de bits sous gambas est une chose aisée car il existe beaucoup de fonctions dont voici la liste :
BClr     Efface un bit dans un nombre entier.
BSet     Positionne un bit dans un nombre entier.
BTst     Teste un bit dans un nombre entier.
BChg     Inverse un bit dans un nombre entier.
Lsl     Décale un nombre entier vers la gauche.
Lsr     Décale un nombre entier vers la droite.
Shl / Asl     Décale un nombre entier vers la gauche et conserve son signe.
Shr / Asr     Décale un nombre entier vers la gauche et conserve son signe.
Rol     Rotation d’un entier vers la gauche.
Ror     Rotation d’un entier vers la droite.

Par l'intermédiaire de ce petit exemple, vous pourrez suivre l'evolution de votre nombre binaire.




Creation date : 22/10/2010 @ 22:27
Last update : 22/10/2010 @ 22:27
Category : Boolean
Page read 4438 times


Print the article Print the article


react.gifReactions to this article

Nobody gave a comment yet.
Be the first one to do it!


QUICK MENU
SEARCH




LANGUAGE
COMPONENTS
Other
LANGUAGE
Where, who?
VISITS

   visitors

   visitors online

ARCHIVES GAMBAS 1/2
^ Top ^