MC-Basic:SHL

From SoftMC-Wiki
Revision as of 05:40, 28 April 2017 by Chi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language: English  • 中文(简体)‎

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

Since Version 3.6.20

Type

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

Range

<Number>: - MaxLong to MaxLong

<N>:           0 to 31

Scope

Configuration, Task or Terminal

Examples

-->?  16 SHL   3

128

See Also