dup
Duplicate the top byte on the stack
Since
0.1.0
See also
Duplicate the top variable on the stack Takes the type of the variable as a string
| Identifier | Type | Byte Size |
|---|---|---|
| B | Byte | 1 |
| S | Short | 2 |
| I | Int | 4 |
| J | Long | 8 |
| F | Float | 4 |
| D | Double | 8 |
| b | UByte | 1 |
| s | UShort | 2 |
| i | UInt | 4 |
| j | ULong | 8 |
Since
0.1.0
Parameters
type
The type of the variable to duplicate