Aide:BitAND.txt

De Wiki AutoIt Français
Aller à : navigation, rechercher

Modèle:TextFileModel

Document original V3.3.6.1 :

###Function###
BitAND

###Description###
Performs a bitwise AND operation.

###Syntax###
BitAND ( value1, value2 [, value n] )


###Parameters###
@@ParamTable@@
value1
	The first number.
value2
	The second number.
value n
	[optional] The nth number - up to 255 values can be specified.
@@End@@

###ReturnValue###
Returns the value of the parameters bitwise-AND'ed together.
Bit operations are performed as 32-bit integers.


###Remarks###
Remember hex notation can be used for numbers.
BitAND returns 1 in each bit position where all input arguments have a 1 in the corresponding
position and 0 in all others, 

###Related###
BitNOT, BitOR, BitShift, BitXOR, Hex, BitRotate


###Example###
@@IncludeExample@@


Document traduit V3.3.6.1 :

###Function###
BinaryToString

###Description###
Convertit une variable binaire en une chaîne de caractère.


###Syntax###
BinaryToString ( expression [, flag] )


###Parameters###
@@ParamTable@@
expression
	Une expression à convertir en une chaîne.
flag
	[optionnel] Change la manière dont les données binaires sont converties:
	  flag = 1 (défaut), les données binaires sont encodées avec la norme ANSI
	  flag = 2, les données binaires sont encodées en UTF16 Little Endian
	  flag = 3, les données binaires sont encodées en UTF16 Big Endian
	  flag = 4, les données binaires sont encodées en UTF8
@@End@@


###ReturnValue###
@@ReturnTable@@
Succès:	la chaîne de caractère convertie à partir des données binaires.
Echec:	Une chaîne vide. @ erreur sera défini comme suit:
	1 - La chaîne d'entrée a une longueur nulle.
	2 - La chaîne d'entrée a un nombre impair d'octets, mais devait être en UTF16 (elle doit contenir un nombre pair d'octets pour être valide UTF16).
@@End@@


###Remarks###
<DIV id=gt-res-content class=almost_half_cell>
<DIV dir=ltr><SPAN id=result_box lang=fr><SPAN title="">Contrairement à <STRONG>String ()</STRONG> qui retourne une représentation hexadécimale de données binaires, cette fonction&nbsp;considère les données binaires&nbsp;comme une valeur de chaîne et la convertit de façon appropriée.</SPAN></SPAN></DIV></DIV>


###Related###
<a href="Binary.htm">Binary</a>, <a href="IsBinary.htm">IsBinary</a>, <a href="String.htm">String</a>, <a href="StringToBinary.htm">StringToBinary</a>, <a href="StringToASCIIArray.htm">StringToASCIIArray</a>


###Example###
@@IncludeExample@@


Traducteur : sylvanie

Contributeurs (pour les modifications avant le Wiki) : Tlem