summaryrefslogtreecommitdiff
path: root/support/acroweb/acroweb/template.pl
blob: 4570410fed33b4a35ef9eca2e9fe8a632ec7f3ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use acroweb_eng;


# we print the head
system("cat template.head");

# paramaters
# ----------
# 1: filename
# 2: the number of quetions
# 3: the number of incorrect answers
# 4: flag: 0=keep answers  1=change the last into "another answer"

#print genrandom("template.txt",4,4,0);
print genrandom("template.txt",4,4,1);

# we finish the file
system("cat template.tail");