Rev 11292 | 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 |
||
11292 | bpr | 4 | syntax:!bound ``vname'' between [integer] ``v1'' and ``v2'' [default ``defaultvalue'']\ |
5 | !bound ``vname'' within ``list'' [default ``defaultvalue''] |
||
6 | mean:bound the range of the variable ``vname''. Usually this is used on user-submitted variables.\ |
||
17228 | bpr | 7 | <br>The first syntax is usually for numerical variables (integer or real,\ |
11292 | bpr | 8 | defaults to real). In this case ``v1'' and ``v2'' supplies the lower and \ |
17228 | bpr | 9 | upper bounds for the value of ``vname''. <br>\ |
11292 | bpr | 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'',\ |
||
17228 | bpr | 13 | according to whether ``defaultvalue'' is defined. <br>\ |
11292 | bpr | 14 | In any case, ``defaultvalue'' is optional. |