major touch-up into presentable form
[rrq/rrqforth.git] / adoc / p_args.adoc
index 7575bd1565d669c5d1e5419c2826909da8647f14..a003e7af438f67f2519975b67158213463046936 100644 (file)
@@ -1,9 +1,15 @@
+//rrqforth.asm:        WORD p_args,'ARGS',dostring
+
 anchor:p_args[]
 
-Word: ARGS
-----------
+=== Word: ARGS
+
+....
+Data stack: ( -- argv** argc )
+....
 
-----
-rrqforth.asm:  WORD p_args,'ARGS',dostring
-----
+"ARGS" is a value word that results in pusing the command line
+argument block. Here argc is the length of the block, and argv** is a
+pointer to a data block of that many asciiz pointers, which are the
+command line arguments given to RRQFORTH at start.