stats:proc:registerstudent
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| stats:proc:registerstudent [2011/10/02 10:27] – stats:proc:addstudent renamed to stats:proc:registerstudent Patrick Michel | stats:proc:registerstudent [2013/07/10 12:44] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| <code xcend> | <code xcend> | ||
| registerStudent(ident uid, ident id, ident studentId) { | registerStudent(ident uid, ident id, ident studentId) { | ||
| - | assume | + | assume |
| - | assume exists //exercises/ | + | assume exists /exercise[id] && |
| - | | + | |
| - | + | || exists / | |
| - | assume not exists | + | |
| + | | ||
| + | assume not exists / | ||
| | | ||
| - | insert | + | insert / |
| } | } | ||
| </ | </ | ||
stats/proc/registerstudent.1317544053.txt.gz · Last modified: by Patrick Michel
