@@ -596,7 +596,9 @@ Toggling Between Values: ''toggle()''</h3>
596
596
597
597
The syntax of the ''toggle()'' expression is:
598
598
599
- <pre> toggle( <<whole-value>> [ ';' <<whole-value>> ] + )</pre>
599
+ <pre class=prod>
600
+ <dfn><<toggle()>></dfn> = toggle( <<whole-value>> [ ';' <<whole-value>> ]+ )
601
+ </pre>
600
602
601
603
Note: This [=functional notation=] uses semicolons to separate arguments
602
604
rather than the more typical comma
@@ -980,7 +982,7 @@ Generating a Random Numeric Value: the ''random()'' function</h3>
980
982
optionally limiting the possible values to a step between those limits:
981
983
982
984
<pre class=prod>
983
- <random()> = random( <<random-caching-options>> ? , <<calc-sum>> , <<calc-sum>> , [by <<calc-sum>> ]? );
985
+ <random()> = random( <<random-caching-options>> ? , <<calc-sum>> , <<calc-sum>> , [by <<calc-sum>> ]? )
984
986
985
987
<dfn><<random-caching-options>></dfn> = <<dashed-ident>> || per-element
986
988
</pre>
@@ -1142,7 +1144,7 @@ Picking a Random Item From a List: the ''random-item()'' function</h3>
1142
1144
from among its list of items.
1143
1145
1144
1146
<pre class=prod>
1145
- <random-item()> = random-item( <<random-caching-options>> ';' <<any -value>> [ ';' <<any -value>> ]* )
1147
+ <random-item()> = random-item( <<random-caching-options>> ';' <<declaration -value>> ? [ ';' <<declaration -value>> ? ]* )
1146
1148
</pre>
1147
1149
1148
1150
The <em> required</em> <<random-caching-options>>
@@ -1178,7 +1180,7 @@ Picking a Random Item From a List: the ''random-item()'' function</h3>
1178
1180
but optional in ''random()'' ,
1179
1181
both for parsing reasons
1180
1182
(it's impossible to tell whether ''random-item(--foo; --bar; --baz)''
1181
- has three <<any -value>> arguments
1183
+ has three <<declaration -value>> arguments
1182
1184
or two and a <<random-caching-options>> argument),
1183
1185
and because accidentally associating the random generation of ''random-item()'' functions together
1184
1186
is much easier to do accidentally,
0 commit comments