stats:proc:addparticipant
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| stats:proc:addparticipant [2012/05/22 09:59] – Patrick Michel | stats:proc:addparticipant [2013/07/10 12:34] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| <code xcend> | <code xcend> | ||
| addParticipant(ident uid, ident id, ident studentId) { | addParticipant(ident uid, ident id, ident studentId) { | ||
| - | assume exists | + | assume exists / |
| - | || exists | + | || exists / |
| - | assume exists | + | assume exists /exam[id]; # implicitly true in OO implementations |
| - | assume | + | assume count (studentId, / |
| | | ||
| - | assume not exists | + | assume not exists / |
| | | ||
| - | insert | + | insert / |
| } | } | ||
| </ | </ | ||
stats/proc/addparticipant.1337673549.txt.gz · Last modified: by Patrick Michel
