Rev 5921 | Rev 11292 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5921 | Rev 11210 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | !! +exec+ +vardef+ |
1 | !! +exec+ +vardef+ |
2 |
|
2 | tit:distribute |
3 | $(lst_syntax)distribute $emph type string$emphend into |
- | |
4 |
|
3 | type:$type_exec |
5 |
|
4 | syntax:!distribute `type string' into `namelist' |
6 |
|
5 | mean:Distribute the content of `string' into variables `namelist'. The distribution \ |
7 |
|
6 | can be done word by word, item by item, character by character or line by line, \ |
8 |
|
7 | according to the word `type'. `type' can be one of the following: `words', `items', \ |
9 | words, items, lines, chars. <p> |
- | |
10 |
|
8 | `lines', `chars'. <p> For example, if `type' is <span class="tt">words</span>, \ |
11 |
|
9 | then the first (resp. second, etc.) variable in `namelist' will be set\ |
12 | to the first (resp. second, etc.) word of |
10 | to the first (resp. second, etc.) word of `string'.</p> |
13 | </p> |
- |