Subversion Repositories wimsdev

Rev

Rev 11210 | Rev 11292 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11210 Rev 11212
Line 1... Line 1...
1
!! +exec+ +loop+ +jump+
1
!! +exec+ +loop+ +jump+
2
tit:for
2
tit:for
3
type:$type_exec
3
type:$type_exec
4
syntax:!for `var' = `start' to `end' [step `st' ]\
4
syntax:!for `var' = `start' to `end' [step `st' ]\
5
 $ !for `var' from `start' to `end' [step `st' ]\
5
 $ !for `var' from `start' to `end' [step `st' ]\
6
 $ !for `var' in `list'<br/></span>\
6
 $ !for `var' in `list'<br/>\
7
  ... (multi-line content)<br/>\
7
  ... (multi-line content)<br/>\
8
  <span class="tt">!next</span>
8
 !next
9
mean:For loop. In the first two forms, `var' goes from `start' to `end', with optional step `st'.\
9
mean:For loop. In the first two forms, `var' goes from `start' to `end', with optional step `st'.\
10
  <br/>In the last form, `var' takes successively items in the list\
10
  <br/>In the last form, `var' takes successively items in the list\
11
  `list'. `list' is a list of items separated by commas. <br/>\
11
  `list'. `list' is a list of items separated by commas. <br/>\
12
  The command <pre>!break</pre>\
12
  The command <pre>!break</pre>\
13
  within the for loop breaks it. `continue' is not yet implemented in this version. <br/>\
13
  within the for loop breaks it. `continue' is not yet implemented in this version. <br/>\