This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
stats:proc:changeattributes_sheet [2011/09/29 00:00] Patrick Michel created |
stats:proc:changeattributes_sheet [2011/09/29 11:43] Patrick Michel |
||
---|---|---|---|
Line 6: | Line 6: | ||
| | ||
assume maxPoints >= 0; | assume maxPoints >= 0; | ||
- | assume //exercises/exercise[id]/students/student[x]/result[sheetId]/points < maxPoints; | + | assume //exercises/exercise[id]/students/student[x]/result[sheetId]/points <= maxPoints; |
| | ||
update //exercises/exercise[id]/sheets/sheet[sheetId]/maxPoints maxPoints; | update //exercises/exercise[id]/sheets/sheet[sheetId]/maxPoints maxPoints; | ||
- | } | + | } # roles: assistant[id] |
</code> | </code> | ||