Subversion Repositories wimsdev

Compare Revisions

Ignore whitespace Rev 11209 → Rev 11210

/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/bound.phtml
1,19 → 1,14
!! +exec+ +vardef+
$lst_tit bound$lst_titend$type_exec
$(lst_syntax)bound $emph vname$emphend between [integer]
$emph v1$emphend and $emph v2$emphend [default $emph defaultvalue$emphend]
</span> <br/>or<br/><span class="tt">
$!bound $emph vname$emphend within $emph list$emphend [default
$emph defaultvalue$emphend]</span>
$lst_mean bound the range of the variable $emph vname$emphend. Usually
this is used on user-submitted variables. <br/>
The first syntax is usually for numerical variables (integer or real,
defaults to real). In this case $emph v1$emphend and $emph v2$emphend
supplies the lower and upper bounds for the value of $emph
vname$emphend. <br/>
In the second syntax, the value of $emph vname $emphend is compared with
each item of $emph list$emphend. If no occurrence is found, the value of
$emph vname$emphend is replaced either by $emph defaultvalue$emphend or
the first item of $emph list$emphend, according to whether $emph
defaultvalue$emphend is defined. <br/>
In any case, $emph defaultvalue$emphend is optional.
tit:bound
type:$type_exec
syntax:!bound `vname' between [integer]`v1' and `v2' [default `defaultvalue']\
!bound `vname' within `list' [default `defaultvalue']
mean:bound the range of the variable `vname'. Usually this is used on user-submitted variables.\
<br/>The first syntax is usually for numerical variables (integer or real,\
defaults to real). In this case `v1' and `v2' supplies the lower and \
upper bounds for the value of `vname'. <br/>\
In the second syntax, the value of `vname ' is compared with\
each item of `list'. If no occurrence is found, the value of\
`vname' is replaced either by `defaultvalue' or the first item of `list',\
according to whether `defaultvalue' is defined. <br/>\
In any case, `defaultvalue' is optional.