shithub: 9ficl

ref: 7c76dac1b268038f567939a70a18228e790a5cbc
dir: /softcore/fileaccess.fr/

View raw version
S" FICL_WANT_FILE" ENVIRONMENT? drop [if]
\ ** 
\ ** File Access words for ficl
\ ** submitted by Larry Hastings, larry@hastings.org
\ **

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

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

: include parse-word included ;

[endif]