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