8e0b4b396816fc302116729e25833b30471aa7b9
[rrq/rrqforth.git] / adoc / p_load_file_quote.adoc
1 // compile.asm: WORD p_load_file_quote,'LOAD-FILE"'
2
3 anchor:p_load_file_quote[]
4
5 === Word: LOAD-FILE"
6
7 ....
8 data stack: ( "name" -- )
9 ....
10
11 "LOAD-FILE"" is a function word that opens a file via
12 xref:p_open_file_quote[OPEN-FILE"], allocates a stream buffer of 15000
13 bytes for reading it, saves the stream pointer as value for the newly
14 created filename variable, and then it invokes
15 xref:p_evaluate_stream[EVALUATE-STREAM] for processing the file.