shl

shift-left first value bits by second value


Parameters

shl value :integer :literal
    bits :integer

Attributes

safecheck for overflows

Returns

  • :integer
  • or  :nothing

Examples

copy
print shl 2 3 ; 16

copy
a: 2 shl 'a 3 ; a: 16

Related