workunit
Monday, April 05, 2010
3:20 PM
workunit
Encompasses several kinds of conditional execution
Example: 
<workunit guard='G' block='B' repeat='R'>
</workunit>
Uses
"If" statement
<workunit guard='expression' block='false()'>
…actions...
</workunit>
"wait until" statement
<workunit guard='expression' block='true()'> 
…actions…
</workunit> 
"repeat...until" statement: 
<workunit guard='true()' repeat='expression'> 
…actions…
</workunit> 
"wait, then repeat" 
<workunit guard='expr1' repeat='expr2' block='true()'>
… actions…
</workunit> 