Subversion Repositories wimsdev

Rev

Rev 12390 | Rev 12459 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12390 Rev 12423
Line 27... Line 27...
27
  !default introcheck=$get_intro_check
27
  !default introcheck=$get_intro_check
28
  !set introcheck4=!values x-40 for x in $introcheck
28
  !set introcheck4=!values x-40 for x in $introcheck
29
  !set introcheck4=!listintersect $introcheck4 and 0,1,2,3,4,5
29
  !set introcheck4=!listintersect $introcheck4 and 0,1,2,3,4,5
30
  !default seedrepeat=0
30
  !default seedrepeat=0
31
  !default introcheck4=1
31
  !default introcheck4=1
-
 
32
  !default seedlastcnt=0
-
 
33
  !!calculation done before the line with new.
-
 
34
  !if $seedlastcnt>=$seedrepeat
-
 
35
    !set seedlastcnt=0
-
 
36
    !increase seedcnt
-
 
37
  !else
-
 
38
    !increase seedlastcnt
-
 
39
  !endif
32
  !if (4 isitemof $intro_check or ($introcheck4=1 and $seedrepeat=0) or\
40
  !if (4 isitemof $intro_check or ($introcheck4=1 and $seedrepeat=0) or\
33
      ($introcheck4>=1 and $seedcnt>=$introcheck4-1 and $[$seedlastcnt]>=$seedrepeat))
41
      ($introcheck4>=1 and $seedcnt>=$introcheck4 and $seedlastcnt>=$seedrepeat))
34
    !set givehint=1
42
    !set givehint=1
35
  !endif
43
  !endif
36
  !bound intro_expow between 1 and 6 default $(list_expow[1])
44
  !bound intro_expow between 1 and 6 default $(list_expow[1])
37
  !bound intro_sepow between 1 and 6 default $(list_sepow[1])
45
  !bound intro_sepow between 1 and 6 default $(list_sepow[1])
38
  !bound intro_precw between 0 and 1 default $(list_precw[1])
46
  !bound intro_precw between 0 and 1 default $(list_precw[1])