User Tools

Site Tools


stats:proc:createsheet

Differences

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

Link to this comparison view

stats:proc:createsheet [2011/09/28 19:56]
Patrick Michel created
stats:proc:createsheet [2013/07/10 12:41]
Line 1: Line 1:
-====== Create Sheet ====== 
  
-<code xcend> 
-createSheet(ident id, ident sheetId, double maxPoints) { 
-  assume exists //​exercises/​exercise[id];​ 
-  assume not exists //​exercises/​exercise[id]/​sheets/​sheet[sheetId];​ 
-  ​ 
-  assume maxPoints >= 0; 
-  ​ 
-  insert //​exercises/​exercise[id]/​sheets <sheet id=[sheetId] maxPoints=[maxPoints] />; 
-} 
-</​code>​ 
stats/proc/createsheet.txt ยท Last modified: 2013/07/10 12:41 (external edit)