-Word: S"
-----------
+//compile.asm: WORD p_literal_string,'LIT-STRING',fasm
anchor:p_literal_string[]
-----
-compile.asm: WORD p_literal_string,'S"',fasm ;; " (fool emacs)
-----
-"S"" is a function word for, in compaling mode, creating a string
-literal whose pname ( char* n ) gets pushed in interpreting mode.
+=== Word: LIT-STRING
-Similar to "LIT", "S"" will insert the string into the containing
-definition, and use it from there.
+....
+Data stack: ( -- chars* n )
+....
+"LIT-STRING" is a function word that pushes the char* and length n of
+a subsequent inline string, then advances execution to continue after
+the string. This is similar to <<p_lit,LIT>> but for a block literal.
+Note that the inlined byte count includes the terminating NUL byte.
+
+====
+.Definition concept for LIT-STRING
+****
+: LIT-STRING R@ DUP @ 8 + R@ @ 2DUP + R> + >R 1 - ;
+****
+====