Subversion Repositories wimsdev

Rev

Rev 4176 | Blame | Compare with Previous | Last modification | View Log | RSS feed

# GetExoSheet
# Fournit toutes les informations d'un exercice qexo present dans la feuille qsheet

#Pour commencer, on verifie la classe
!read scripts/check.class
!if $error!=$empty
 !exit
!endif

type=sheets
!read scripts/check.proc
!if $error!=$empty
 !exit
!endif

exo=!record $qexo of $qfile

!if $exo=$empty
 error=There is no exercice #$qexo in this sheet ($qsheet)
 !exit
!endif

exo_module=!line 1 of $exo
exo_params=!line 2 of $exo
exo_points=!line 3 of $exo
exo_weight=!line 4 of $exo
exo_title=!line 5 of $exo
exo_description=!line 6 of $exo