Subversion Repositories wimsdev

Rev

Rev 5921 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !! +exec+ +vardef+
  2. tit:distribute
  3. type:$type_exec
  4. syntax:!distribute `type string' into `namelist'
  5. mean:Distribute the content of `string' into variables `namelist'. The distribution \
  6.   can be done word by word, item by item, character by character or line by line, \
  7.   according to the word `type'. `type' can be one of the following: `words', `items', \
  8.   `lines', `chars'. <p> For example, if `type' is <span class="tt">words</span>, \
  9.  then the first (resp. second, etc.) variable in `namelist' will be set\
  10.   to the first (resp. second, etc.) word of `string'.</p>
  11.