2002-04-09 17:45:28 +00:00
|
|
|
\ #if FICL_WANT_FILE
|
|
|
|
\ **
|
|
|
|
\ ** File Access words for ficl
|
|
|
|
\ ** submitted by Larry Hastings, larry@hastings.org
|
|
|
|
\ **
|
|
|
|
\
|
|
|
|
\ $FreeBSD$
|
|
|
|
|
|
|
|
: 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
|
|
|
|
;
|
|
|
|
|
2007-03-23 22:26:01 +00:00
|
|
|
: include parse-word included ;
|
2002-04-09 17:45:28 +00:00
|
|
|
|
|
|
|
\ #endif
|