aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/ficl/softwords/fileaccess.fr
blob: 356c5fe867780e26f85d54e321ca67a3bd938204 (plain) (blame)
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
\ #if FICL_WANT_FILE
\ ** 
\ ** File Access words for ficl
\ ** submitted by Larry Hastings, larry@hastings.org
\ **
\
\ $FreeBSD: src/sys/boot/ficl/softwords/fileaccess.fr,v 1.2.8.1 2009/04/15 03:14:26 kensmith Exp $

: r/o 1 ;
: r/w 3 ; 
: w/o 2 ; 
: bin 8 or ; 

: included
    r/o bin open-file 0= if
        locals| f | end-locals
        f include-file
    else
        drop
    endif
    ;

: include parse-word included ;

\ #endif