fa/doc/md/DROP.md
Ari Archer de936a7513
Unsized strings, pop keyword and dead code elimination
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-07-22 10:43:57 +03:00

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