Skip to content

Commit ce1c43d

Browse files
committed
Run make doc ;-(
1 parent 834b83c commit ce1c43d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

doc/procedures/cursor.md

+13
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ letting them act on other cursors.
6161

6262
## cursor and start: / initial: attribute
6363

64+
Sometimes, it is necessary to enter a cursor not at its first child, but
65+
its second or third. Once such a cursor is entered and a `continue` is
66+
met it will "rewind" to the first child (not the "start" child).
67+
6468
```
6569
task 'create mandate'
6670
cursor start: 'approve mandate'
@@ -70,6 +74,15 @@ cursor start: 'approve mandate'
7074
task 'activate mandate'
7175
```
7276

77+
The string passed to start:/initial: is looked up (down) in the cursor
78+
in the order: (example `cursor start: 'bravo'`)
79+
80+
* tag (for example `push l 'b' tag: 'bravo'`)
81+
* string argument (for example `task 'toto' context: 'bravo'`)
82+
* string target (for example `task 'bravo'`)
83+
* name target (for example `bravo _`)
84+
* att target (for example `task 'toto' bravo: 'ok'`)
85+
7386
## see also
7487

7588
[Break](break.md), [continue](break.md), [loop](loop.md).

0 commit comments

Comments
 (0)