User Tools

Site Tools


stats:proc:removeresult_sheet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

stats:proc:removeresult_sheet [2011/09/29 19:40]
Patrick Michel
stats:proc:removeresult_sheet [2013/07/10 12:34]
Line 1: Line 1:
-====== Remove Result (Sheet) ====== 
  
-<code xcend> 
-removeResult(ident uid, ident id, ident studentId, ident sheetId) { 
-  assume exists //​accounts/​account[uid]/​assistant[id] ||  
-         ​exists //​accounts/​account[uid]/​tutor[id]/​group[//​exercises/​exercise[id]/​students/​student[studentId]/​group];​ 
- 
-  assume exists //​exercises/​exercise[id]/​students/​student[studentId]/​result[sheetId];​ # implies the existence of pretty much everything 
-  ​ 
-  remove //​exercises/​exercise[id]/​students/​student[studentId]/​result[sheetId];​ 
-} 
-</​code>​ 
stats/proc/removeresult_sheet.txt ยท Last modified: 2013/07/10 12:34 (external edit)