Rev 5920 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5920 | Rev 17228 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | There is no special syntax in wims language for arrays. However, it is |
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 |
4 | possible to design array-like variable structures, with integer or even |
5 | string subscripts. This can be done using nested variable substitutions. For |
5 | string subscripts. This can be done using nested variable substitutions. For |
6 | example, ... |
6 | example, ... |
7 | 7 | ||
8 | <hr |
8 | <hr><h4>Fields in a string</h4> |
9 | Wims variables are all string variables. There are three different ways to |
9 | Wims variables are all string variables. There are three different ways to |
10 | split a string into fields: |
10 | split a string into fields: |
11 | <ul><li>As a list of words, separated by white-space characters. Consecutive |
11 | <ul><li>As a list of words, separated by white-space characters. Consecutive |
12 | white-spaces are considered as one field separator. |
12 | white-spaces are considered as one field separator. |
13 | </li><li>As a list of lines, separated by new-line characters. Consecutive |
13 | </li><li>As a list of lines, separated by new-line characters. Consecutive |