Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.03 KB

File metadata and controls

45 lines (35 loc) · 1.03 KB

sequence, begin

Executes child expressions in sequence.

sequence
  task 'alpha'
  task 'bravo' if f.amount > 2000
  task 'charly'

Giving a string as attribute result to "sequence" lets it interpret that string as a tag name, as in:

sequence 'phase one'
  alice 'gather customer requirements'
  bob 'establish offer'
sequence 'phase two'
  alice 'present offer to customer'
  bob 'sign contract'

It is equivalent to:

sequence tag: 'phase one'
  alice 'gather customer requirements'
  bob 'establish offer'
sequence tag: 'phase two'
  alice 'present offer to customer'
  bob 'sign contract'

Learn more about tags.

Please note that it sets only 1 tag, and if there are already tags sets (sequence tags: [ 'a' 'b' ] "this won't become a tag"), it won't set further tags.

see also

Concurrence, loop