BMASK real-valued function BMASK real-valued function Syntax BMASK (bit, bit , ..., bit ) Function Create a bit mask by setting individual bits. Parameter bit Integer value from 1 to 32 specifying a bit to turn on. The least- significant bit is number 1. Details This instruction creates a bit mask by turning on (bit = 1) the specified bits and leaving all other bits off (bit = 0). Bit 32 is the sign bit and yields a negative number when set. Examples Create the bit mask ^B10001: bm = BMASK(1, 5) Attach to a disk LUN with mode bit 2 turned on: mode = BMASK(2) ATTACH (lun, mode) "DISK" eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 95