Rev 17228 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 17228 | Rev 17238 | ||
---|---|---|---|
Line 4... | Line 4... | ||
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><h4>Fields in a string</h4> |
8 | <hr><h4>Fields in a string</h4> |
9 |
|
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 |
14 | new-lines are considered as separating empty lines. |
14 | new-lines are considered as separating empty lines. |
15 | </li><li>As a list of items, separated by commas ( $emph,$emphend ). Consecutive |
15 | </li><li>As a list of items, separated by commas ( $emph,$emphend ). Consecutive |
16 | commas are considered as separating empty items. |
16 | commas are considered as separating empty items. |
17 | </li></ul> |
17 | </li></ul> |
18 | - | ||
19 | <p> |
18 | <p> |
20 | This section is not yet finished. Sorry. |
19 | This section is not yet finished. Sorry. |
21 | </p> |
20 | </p> |