BitMaskSet  
 
 

Returns number bitwise masked with length bits of mask beginning from start.

See also BitMaskClear and BitMaskRead.

 
 
  Syntax  
 
BitMaskSet(number, mask, start, length)

number

Long integer to be masked.

mask

Long integer specifying the mask.

start

Integer specifying the starting bit in number for masking.

length

Integer specifying the length of mask.

 
 
  Usage  
 

Parameters start and length must be in the range from 0 to 31.

Bit functions operate on 32-bit integers.





 
 
BackUp LevelNext
 
 

allaire     AllaireDoc@allaire.com
    Copyright © 1998, Allaire Corporation. All rights reserved.