Rev 5921 | Rev 11223 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5921 | Rev 11210 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | !! +exec+ +vardef+ |
1 | !! +exec+ +vardef+ |
2 |
|
2 | tit:bound |
3 |
|
3 | type:$type_exec |
4 |
|
4 | syntax:!bound `vname' between [integer]`v1' and `v2' [default `defaultvalue']\ |
5 | </span> <br/>or<br/><span class="tt"> |
- | |
6 |
|
5 | !bound `vname' within `list' [default `defaultvalue'] |
7 | $emph defaultvalue$emphend]</span> |
- | |
8 |
|
6 | mean:bound the range of the variable `vname'. Usually this is used on user-submitted variables.\ |
9 | this is used on user-submitted variables. <br/> |
- | |
10 |
|
7 | <br/>The first syntax is usually for numerical variables (integer or real,\ |
11 | defaults to real). In this case |
8 | defaults to real). In this case `v1' and `v2' supplies the lower and \ |
12 |
|
9 | upper bounds for the value of `vname'. <br/>\ |
13 | vname$emphend. <br/> |
- | |
14 | In the second |
10 | In the second syntax, the value of `vname ' is compared with\ |
15 | each item of |
11 | each item of `list'. If no occurrence is found, the value of\ |
16 |
|
12 | `vname' is replaced either by `defaultvalue' or the first item of `list',\ |
17 | the first item of $emph list$emphend, according to whether $emph |
- | |
18 |
|
13 | according to whether `defaultvalue' is defined. <br/>\ |
19 | In any |
14 | In any case, `defaultvalue' is optional. |