projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup
[pspp]
/
doc
/
flow-control.texi
diff --git
a/doc/flow-control.texi
b/doc/flow-control.texi
index 2082e338037d40df5330ea00a5a6b1d84ffbc4d9..7a2c84b4178e6e20fa6e8bc4672b160a8452e7e7 100644
(file)
--- a/
doc/flow-control.texi
+++ b/
doc/flow-control.texi
@@
-194,10
+194,11
@@
DESCRIPTIVES !vars.
FREQUENCIES /VARIABLES=!vars.
!ENDDEFINE.
FREQUENCIES /VARIABLES=!vars.
!ENDDEFINE.
+* Initially define the 'vars' macro to analyze v1...v3.
DEFINE !vars() v1 v2 v3 !ENDDEFINE.
!commands
DEFINE !vars() v1 v2 v3 !ENDDEFINE.
!commands
-*
We can redefine the variables macro to analyze different variables:
+*
Redefine 'vars' macro to analyze different variables.
DEFINE !vars() v4 v5 !ENDDEFINE.
!commands
@end example
DEFINE !vars() v4 v5 !ENDDEFINE.
!commands
@end example
@@
-458,7
+459,7
@@
In the examples below, @samp{_} stands in for a space to make the
results visible.
@c Keep these examples in sync with the test for !BLANKS in
results visible.
@c Keep these examples in sync with the test for !BLANKS in
-@c tests/language/co
ntrol
/define.at:
+@c tests/language/co
mmands
/define.at:
@example
!BLANKS(0) @expansion{} @r{empty}
!BLANKS(1) @expansion{} _
@example
!BLANKS(0) @expansion{} @r{empty}
!BLANKS(1) @expansion{} _
@@
-474,7
+475,7
@@
concatenation, each quoted string argument is unquoted, as if
combining two (or more) tokens into a single one:
@c Keep these examples in sync with the test for !CONCAT in
combining two (or more) tokens into a single one:
@c Keep these examples in sync with the test for !CONCAT in
-@c tests/language/co
ntrol
/define.at:
+@c tests/language/co
mmands
/define.at:
@example
!CONCAT(x, y) @expansion{} xy
!CONCAT('x', 'y') @expansion{} xy
@example
!CONCAT(x, y) @expansion{} xy
!CONCAT('x', 'y') @expansion{} xy
@@
-487,7
+488,7
@@
variable names from a prefix followed by a number and perhaps a
suffix. For example:
@c Keep these examples in sync with the test for !CONCAT in
suffix. For example:
@c Keep these examples in sync with the test for !CONCAT in
-@c tests/language/co
ntrol
/define.at:
+@c tests/language/co
mmands
/define.at:
@example
!CONCAT(x, 0) @expansion{} x0
!CONCAT(x, 0, y) @expansion{} x0y
@example
!CONCAT(x, 0) @expansion{} x0
!CONCAT(x, 0, y) @expansion{} x0y
@@
-499,7
+500,7
@@
part of an identifier will produce a pair of distinct tokens rather
than a single one. For example:
@c Keep these examples in sync with the test for !CONCAT in
than a single one. For example:
@c Keep these examples in sync with the test for !CONCAT in
-@c tests/language/co
ntrol
/define.at:
+@c tests/language/co
mmands
/define.at:
@example
!CONCAT(0, x) @expansion{} 0 x
!CONCAT(0, x, y) @expansion{} 0 xy
@example
!CONCAT(0, x) @expansion{} 0 x
!CONCAT(0, x, y) @expansion{} 0 xy
@@
-589,7
+590,7
@@
Expands to a number token representing the number of characters in
Expands to an empty character sequence.
@c Keep these examples in sync with the test for !NULL in
Expands to an empty character sequence.
@c Keep these examples in sync with the test for !NULL in
-@c tests/language/co
ntrol
/define.at:
+@c tests/language/co
mmands
/define.at:
@example
!NULL @expansion{} @r{empty}
!QUOTE(!NULL) @expansion{} ''
@example
!NULL @expansion{} @r{empty}
!QUOTE(!NULL) @expansion{} ''
@@
-609,7
+610,7
@@
quote marks reduced to singletons. If the argument was not a quoted
string, @code{!UNQUOTE} expands to the argument unchanged.
@c Keep these examples in sync with the test for !QUOTE and !UNQUOTE in
string, @code{!UNQUOTE} expands to the argument unchanged.
@c Keep these examples in sync with the test for !QUOTE and !UNQUOTE in
-@c tests/language/co
ntrol
/define.at:
+@c tests/language/co
mmands
/define.at:
@example
!QUOTE(123.0) @expansion{} '123.0'
!QUOTE( 123 ) @expansion{} '123'
@example
!QUOTE(123.0) @expansion{} '123.0'
!QUOTE( 123 ) @expansion{} '123'