#K$ Caps_CapaciteAuBitNumero

Syntaxe 

TypeCapacite Caps_CapaciteAuBitNumero(CONSTANT)
Description

to convert a bit number (0->31) to a "caps" binary value
in param :	(CONSTANT) the number of the bit you want to convert
out param :	(TypeCapacite) the capability containing this bit set to 1.
Exemple(s)

TypeCapacite INTERN_Capabilities : CapaZero

INTERN_Capabilities := Caps_CapaciteAuBitNumero(8)

=> INTERN_ Capabilities = "00000000000000000000000010000000"

Voir Aussi

Procedures : Caps_FixeCapacites, Caps_AjouteCapacites, Caps_EnleveCapacites
Functions : Caps_LitCapacites
Conditions : Caps_ALaCapacite, Caps_ALaCapaciteNumero, Caps_AUneDesCapacites,
Caps_PersoALaCapacite, Caps_PersoALaCapaciteNumero, Caps_PersoAUneDesCapacites