19 lines
380 B
Markdown
19 lines
380 B
Markdown
# Drop keyword in fa
|
|
|
|
`Drop` keyword will drop an element off the stack
|
|
|
|
`Drop` takes one argument of the stack:
|
|
|
|
- Ammount of items to drop
|
|
|
|
The arguments:
|
|
|
|
- Argument `Ammount of items to drop` defines how many items to drop from the stack
|
|
|
|
Example of the `drop` keyword:
|
|
|
|
```fa
|
|
5 1 drop -- Drop 1 element from the stack
|
|
```
|
|
|
|
This will drop the `5` that is pushed on the stack
|