-
Notifications
You must be signed in to change notification settings - Fork 1
/
array-to.fs
27 lines (20 loc) · 618 Bytes
/
array-to.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
\ galope/array-to.fs
\ This file is part of Galope
\ http:https://programandala.net/en.program.galope.html
\ Author: Marcos Cruz (programandala.net), 2018.
\ ==============================================================
: array> ( n a1 -- a2 ) swap cells + ;
\ doc{
\
\ array> ( n a1 -- a2 ) "array-to"
\
\ Return address _a2_ of element _n_ of a 1-dimension
\ cell array _a1_.
\
\ See: `2array>`, `array<`.
\
\ }doc
\ ==============================================================
\ Change log
\ 2018-05-01: Start. Adapt from Solo Forth
\ (http:https://programanadala.net/en.program.solo_forth.html).