dup

Duplicate the top byte on the stack

Specification

Since

0.1.0

See also


fun dup(type: String)(source)

Duplicate the top variable on the stack Takes the type of the variable as a string

IdentifierTypeByte Size
BByte1
SShort2
IInt4
JLong8
FFloat4
DDouble8
bUByte1
sUShort2
iUInt4
jULong8

Since

0.1.0

Parameters

type

The type of the variable to duplicate