doc: Clarify that DO REPEAT only substitutes whole words.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 11 Aug 2013 17:37:08 +0000 (10:37 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 11 Aug 2013 17:37:08 +0000 (10:37 -0700)
Based on this conversation:
https://lists.gnu.org/archive/html/pspp-users/2013-08/msg00009.html

doc/flow-control.texi

index fb2df35291abab9fc193f1acfc5a9d1f472b052a..fe81c94357c42a1b5b1bd1c6c4927a0dffba6424 100644 (file)
@@ -108,6 +108,9 @@ strings, comments, unquoted strings (such as the text on the
 @cmd{TITLE} or @cmd{DOCUMENT} command), or inside @cmd{BEGIN
 DATA}@dots{}@cmd{END DATA}.
 
+Substitution occurs only on whole words, so that, for example, a dummy
+variable PRINT would not be substituted into the word PRINTOUT.
+
 New variable names used as replacements are not automatically created
 as variables, but only if used in the code block in a context that
 would create them, e.g.@: on a @cmd{NUMERIC} or @cmd{STRING} command