Subversion Repositories wimsdev

Rev

Rev 1091 | Rev 5920 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1091 Rev 5766
Line 4... Line 4...
4
  !set numlist_str=$emph string$emphend
4
  !set numlist_str=$emph string$emphend
5
!endif
5
!endif
6
 
6
 
7
$emph numlist$emphend can be a single integer, a comma-separated list of
7
$emph numlist$emphend can be a single integer, a comma-separated list of
8
integers, or a range of integers.
8
integers, or a range of integers.
9
<br>
9
<br/>
10
A positive integer denotes the number of $numlist_type in $numlist_str
10
A positive integer denotes the number of $numlist_type in $numlist_str
11
counted from the beginning,
11
counted from the beginning,
12
with $emph 1 $emphend corresponding to the first 
12
with $emph 1 $emphend corresponding to the first 
13
$numlist_type. A negative integer denotes the number of $numlist_type from 
13
$numlist_type. A negative integer denotes the number of $numlist_type from 
14
the end of $numlist_str: $emph-1$emphend
14
the end of $numlist_str: $emph-1$emphend
Line 16... Line 16...
16
the next-to-last $numlist_type, etc. <p>
16
the next-to-last $numlist_type, etc. <p>
17
The syntax for a range of integers is
17
The syntax for a range of integers is
18
<tt>$emph n1$emphend to$emph n2$emphend</tt>
18
<tt>$emph n1$emphend to$emph n2$emphend</tt>
19
For example, <tt>$emph 2 to -2$emphend</tt>
19
For example, <tt>$emph 2 to -2$emphend</tt>
20
means the whole $numlist_str except the first
20
means the whole $numlist_str except the first
21
and the last $(numlist_type)s. <br>
21
and the last $(numlist_type)s. <br/>