a003e7af438f67f2519975b67158213463046936
[rrq/rrqforth.git] / adoc / p_args.adoc
1 //rrqforth.asm: WORD p_args,'ARGS',dostring
2
3 anchor:p_args[]
4
5 === Word: ARGS
6
7 ....
8 Data stack: ( -- argv** argc )
9 ....
10
11 "ARGS" is a value word that results in pusing the command line
12 argument block. Here argc is the length of the block, and argv** is a
13 pointer to a data block of that many asciiz pointers, which are the
14 command line arguments given to RRQFORTH at start.
15