メインコンテンツまでスキップ
バージョン:25.2

bitShift

  • bitwise operator

  • new in 2.06

  • Use bitShift left or bitShift right to shift bits left or right by the specified number of places.

  • Examples: +

    set the numberFormat to "binary 8"
    set the bitLength to 8
    put 0b00010101 bitShift left 2 --> 0b01010100
  • Related: bitNot, bitAnd, bitOr, bitXor, bitLength