MC-Basic:SHL

From SoftMC-Wiki
Revision as of 16:00, 13 December 2010 by Arwiebe (talk | contribs) (Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= <''Number''> SHL <''N''> |AVAILABILITY= Versions 3.6.20 and higher |DESCRIPTION= SHL (shift left) shifts each bit in <Number> N places to the…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SHL (shift left) shifts each bit in <Number> N places to the left. N zeros are shifted into the N rightmost positions.

Syntax

<Number> SHL <N>

Availability

Versions 3.6.20 and higher

Type

<returnvalue>:Long
<Number>:Long
<N>: Long

Range

<Number>: - MaxLong to MaxLong

<N>:           0 to 32

Scope

Configuration, Task or Terminal

Examples

-->?  16 SHL   3

128

See Also