-
Notifications
You must be signed in to change notification settings - Fork 1
/
drops.fs
38 lines (30 loc) · 885 Bytes
/
drops.fs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
\ galope/drops.fs
\ This file is part of Galope
\ http:https://programandala.net/en.program.galope.html
\ Author: Marcos Cruz (programandala.net), 2012, 2016, 2017.
\ ==============================================================
: drops ( x#1 ... x#n n -- ) 0 ?do drop loop ;
\ doc{
\
\ drops ( x#1 ... x#n n -- )
\
\ Remove _n_ items from the stack.
\
\ See: `2drops`.
\
\ }doc
\ ==============================================================
\ Change log
\ 2012-04-19: Extract 'mdrop' from "Asalto y castigo"
\ (http:https://programandala.net/es.programa.asalto_y_castigo.forth.html).
\
\ 2012-04-30: Remove '?mdrop' and '?2mdrop'; now the check is done in
\ 'mdrop' with '?do'. Move '2mdrop' to its own file.
\
\ 2012-09-14: Rename to 'drops'.
\
\ 2016-01-16: Update header and layout.
\
\ 2016-07-11: Update header and layout.
\
\ 2017-11-05: Improve documentation.