documentation fixes
[rrq/rrqforth.git] / adoc / p_args.adoc
index 825ca358b3ecd12c0d62da8e696ffd5c9b6d9dee..ca3eef6ca2e36cf72089cedf5264c7398433f2d1 100644 (file)
@@ -10,7 +10,8 @@ Data stack: ( -- p[argv** argc] )
 
 "ARGS" is a value word that holds a pointer to the command line data
 block which consists of a count cell followed by that many asciiz
-pointers and then a 0 cell.
+pointers and then a 0 cell. That is next followed by the environment
+as a number of asciiz pointers and a 0 cell.
 
 ====
 .the command line argument block
@@ -18,8 +19,9 @@ pointers and then a 0 cell.
 ----
 ARGS -> 8 bytes: count of non-zero asciiz pointers following
         8 bytes: command name string
-       8 bytes: first argument string
-       8* ...
-       8 zero
+       8* bytes: argument strings
+       8 bytes: zero cell
+       8* bytes: envirnment strings
+       8 bytes: zero cell
 ----
 ====