stats:proc:addresult_task
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| stats:proc:addresult_task [2011/09/28 20:46] – Patrick Michel | stats:proc:addresult_task [2013/07/10 12:34] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| <code xcend> | <code xcend> | ||
| - | addResult(ident id, ident studentId, ident taskId, double points) { | + | addResult(ident uid, ident id, ident studentId, ident taskId, double points) { |
| - | assume exists //exams/exam[id]/results/ | + | assume exists /account[uid]/examiner[id]; |
| - | assume exists | + | |
| + | assume exists | ||
| + | assume exists / | ||
| | | ||
| - | assume not exists | + | assume not exists / |
| - | assume points >= 0 && points < //exams/exam[id]/tasks/ | + | assume points >= 0 && points <= / |
| - | insert | + | insert / |
| } | } | ||
| </ | </ | ||
stats/proc/addresult_task.1317235609.txt.gz · Last modified: by Patrick Michel
