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 | !! +var+ +exec+ +string+ |
14279 | obado | 2 | !goto end |
11210 | bpr | 3 | tit:makelist |
4 | type:$type_both |
||
14279 | obado | 5 | |
6 | syntax:!makelist ``templ'' for ``v''=``v1'' to ``v2'' [step ``st''], or \ |
||
7 | !makelist ``templ'' for ``v'' in ``v1,v2,v3,...'' |
||
8 | |||
11292 | bpr | 9 | mean:Outputs a list consisting of ``templ'' with variable ``v'' successively substituted \ |
14279 | obado | 10 | by values ``v1'', ..., ``v2''.<br/>\ |
11210 | bpr | 11 | In the second syntax, the substitutions are done with respect to each item in\ |
14279 | obado | 12 | the list ``v1,v2,...''.<br/>\ |
11292 | bpr | 13 | The variable ``v'' should appear in ``templ'' as a math variable \ |
14279 | obado | 14 | (that is, with no preceeding character). |
15 | |||
16 | sample:see below |
||
17 | :end |
||
18 | <tr> |
||
19 | <td><code>!makelist [x;x+1;xx] for x in a,x and y,1,(2,3)</code></td> |
||
20 | <td><pre> |
||
21 | !makelist [x;x+1;xx] for x in a,x and y,1,(2,3) |
||
22 | </pre></td> |
||
23 | </tr> |
||
24 |