988bf6ad7542cc72ec7be791eb2e77e6b36fc8d3
[rrq/rrqforth.git] / p_open_file_quote.adoc
1 // compile.asm: WORD p_open_file_quote,'OPEN-FILE"'
2
3 anchor:p_open_file_quote[]
4
5 === Word: OPEN-FILE"
6
7 ....
8 Data stack: ( "name" -- fd )
9 ....
10
11 "OPEN-FILE"" is a function word that reads the intputstream for a
12 filename, adds that to the dictionary as a no-content variable, opens
13 that file and returns the input file descriptor.