Subversion Repositories wimsdev

Rev

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

Rev 13028 Rev 13086
Line 32... Line 32...
32
    !set introgivehint=1
32
    !set introgivehint=1
33
  !endif
33
  !endif
34
  !default introgivehint=$get_intro_hint
34
  !default introgivehint=$get_intro_hint
35
  !bound introgivehint between 0 and $limit_version default 1
35
  !bound introgivehint between 0 and $limit_version default 1
36
  !default seedrepeat=0
36
  !default seedrepeat=0
37
  !default seedlastcnt=0
37
  !default seedlastcnt=1
38
  !!calculation done before the line with new.
38
  !!calculation done before the line with new.
39
  !if $seedlastcnt>=$seedrepeat
39
  !if $seedlastcnt>=$seedrepeat
40
    !set seedlastcnt=0
40
    !set seedlastcnt=1
41
    !increase seedcnt
41
    !increase seedcnt
42
  !else
42
  !else
43
    !increase seedlastcnt
43
    !increase seedlastcnt
44
  !endif
44
  !endif
-
 
45
  !!givehint is 0 or 1 depending whether hint must be printed or not
45
  !if (4 isitemof $intro_check or ($introgivehint=1 and $seedrepeat<=1) or\
46
  !if (4 isitemof $intro_check or ($introgivehint=1 and $seedrepeat<=1) or\
46
      ($introgivehint>=1 and $seedcnt>=$introgivehint and $seedlastcnt>=$seedrepeat)\
47
      ($introgivehint>=1 and $seedcnt>=$introgivehint and $seedlastcnt>=$seedrepeat))
47
      or ($seedrepeat<=1 and $seedcnt>=$introgivehint))
-
 
48
    !set givehint=1
48
    !set givehint=1
49
  !endif
49
  !endif
50
  !bound intro_expow between 1 and 6 default $(list_expow[1])
50
  !bound intro_expow between 1 and 6 default $(list_expow[1])
51
  !bound intro_sepow between 1 and 6 default $(list_sepow[1])
51
  !bound intro_sepow between 1 and 6 default $(list_sepow[1])
52
  !bound intro_precw between 0 and 1 default $(list_precw[1])
52
  !bound intro_precw between 0 and 1 default $(list_precw[1])