Subversion Repositories wimsdev

Compare Revisions

Ignore whitespace Rev 11209 → Rev 11210

/trunk/wims/public_html/modules/help/wimsdoc.en/cmd/values.phtml
1,17 → 1,14
!! +var+ +exec+ +string+
$lst_tit values$lst_titend$type_both
$(lst_syntax)values $emph fns$emphend for $emph v$emphend=$emph v1$emphend
to $emph v2$emphend [step $emph st $emphend], or <br/>
$ !values $emph fns$emphend for $emph v$emphend in
$emph v1,v2,v3,...$emphend</span>
$lst_mean Outputs a list of values of $emph fns$emphend with
variable $emph v $emphend replaced successively by values $emph v1$emphend,
..., $emph v2$emphend. <p>
In the second syntax, the values are given with respect to each item in
the list $emph v1,v2,...$emphend. <p>
$emph fns$emphend may be a comma-separated list of functions. <p>
This command can also be used to make recursions. If the functions
$emph fns$emphend contain a variable named $emph last$emphend, this variable
will take the value of the last step each time. And the starting value
can be put into the WIMS variable <span class="tt">$$recursion_start</span>.
tit:values
type:$type_both
syntax:!values `fns' for `v'=`v1' to `v2' [step `st']\
$ !values `fns' for `v' in `v1,v2,v3,...'
mean:Outputs a list of values of `fns' with variable `v' replaced successively by values \
`v1', ..., `v2'. <p>In the second syntax, the values are given with respect \
to each item in the list `v1,v2,...'. </p><p>\
`fns' may be a comma-separated list of functions. </p><p>\
This command can also be used to make recursions. If the functions\
`fns' contain a variable named `last', this variable\
will take the value of the last step each time. And the starting value\
can be put into the WIMS variable <span class="tt">$$recursion_start</span>.\
</p>