Subversion Repositories wimsdev

Rev

Rev 11223 | 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
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.\
11210 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 \
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.