
!set n=$teller
!if $graad=0
    R=$teller
!else
    R=$graad
!endif        
plaatje=0
varlist=$empty
arglist=$empty
varcnt=0
woordmax=40
somtekst$n=!record 8 of lang/remarks.$taal
bewerking=nivo/bewerking1.proc
!if $R=1
    num=!randint 1,8
    rec=!record $num of nivo/data3
    k=!randitem 0,1
    opgave$n=!item 3 of $rec
    GOED$n=!item 2 of $rec
    goed$n=!texmath $(GOED$n)
 !exit
!endif
!if $R=2
    k=!randitem 0,1,2
    c=!randitem 2,3
    num=!randint 1,16
    rec=!record $num of nivo/data3
    opgave$n=!item 3 of $rec
    GOED$n=!item 2 of $rec
    goed$n=!texmath $(GOED$n)
 !exit
!endif
!if $R>2
    num=!randint 1,16
    k=!randitem 3,4,5,6,7,8,9,10
    c=!randitem 1,2,3,4,5,6
    rec=!record $num of nivo/data3
    opgave$n=!item 3 of $rec
    GOED$n=!item 2 of $rec
    goed$n=!texmath $(GOED$n)
 !exit
!endif


