Subversion Repositories wimsdev

Rev

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

  1.  
  2. <h4>Arrays</h4>
  3. There is no special syntax in wims language for arrays. However, it is
  4. possible to design array-like variable structures, with integer or even
  5. string subscripts. This can be done using nested variable substitutions. For
  6. example, ...
  7.  
  8. <hr><h4>Fields in a string</h4>
  9. Wims variables are all string variables. There are three different ways to
  10. split a string into fields:
  11. <ul><li>As a list of words, separated by white-space characters. Consecutive
  12. white-spaces are considered as one field separator.
  13. </li><li>As a list of lines, separated by new-line characters. Consecutive
  14. new-lines are considered as separating empty lines.
  15. </li><li>As a list of items, separated by commas ( $emph,$emphend ). Consecutive
  16. commas are considered as separating empty items.
  17. </li></ul>
  18.  
  19. <p>
  20. This section is not yet finished. Sorry.
  21. </p>
  22.