This shows you the differences between two versions of the page.
stats:proc:deletegrade [2011/09/27 20:53] Patrick Michel created |
stats:proc:deletegrade [2013/07/10 12:34] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Delete Grade ====== | ||
- | |||
- | <code xcend> | ||
- | deleteGrade(ident id, ident gradeId) { | ||
- | assume exists //exams/exam[id]/grades/grade[gradeId]; # implies the exam exists, which is implicitly true anyway | ||
- | |||
- | remove //exams/exam[id]/grades/grade[gradeId]; | ||
- | } | ||
- | </code> | ||