-
Notifications
You must be signed in to change notification settings - Fork 1
/
fourth.fs
29 lines (22 loc) · 618 Bytes
/
fourth.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
\ galope/fourth.fs
\ This file is part of Galope
\ http:https://programandala.net/en.program.galope.html
\ Code from Wil Baden's ToolBelt 2002.
\ ==============================================================
: fourth ( x1 x2 x3 x4 -- x1 x2 x3 x4 x1 ) 3 pick ;
\ doc{
\
\ fourth ( x1 x2 x3 x4 -- x1 x2 x3 x4 x1 )
\
\ Copy fourth element on the stack onto top of stack.
\
\ See: `third`, `4drop`.
\
\ }doc
\ ==============================================================
\ Change log
\ 2012-12-04 Added.
\
\ 2017-08-17: Update change log layout. Update header.
\
\ 2017-10-26: Improve documentation.