aboutsummaryrefslogtreecommitdiff
path: root/test/sarray.fr
blob: b2672c56a1c6d292e4ce4ddae23fb1ec32d20db9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
\ test file for ficl
\ string array...
: $array ( caddr u ... caddr u n -- ) 
    create 0 ?do , , loop 
    does> swap 2* cells + 2@ type 
;

: s
    s" string 3"
    s" string 2"
    s" string 1"
    s" string 0"
    4 
;

s $array s