summaryrefslogtreecommitdiff
path: root/support/acroweb/acroweb/demo1.pl
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/acroweb/acroweb/demo1.pl
Initial commit
Diffstat (limited to 'support/acroweb/acroweb/demo1.pl')
-rw-r--r--support/acroweb/acroweb/demo1.pl12
1 files changed, 12 insertions, 0 deletions
diff --git a/support/acroweb/acroweb/demo1.pl b/support/acroweb/acroweb/demo1.pl
new file mode 100644
index 0000000000..a707a4c95a
--- /dev/null
+++ b/support/acroweb/acroweb/demo1.pl
@@ -0,0 +1,12 @@
+use acroweb_eng;
+
+system("cat demo1.head");
+
+### the multichoice question with open choice (=none of the above)
+print genrandom("demo1.txt",6,4,1);
+
+### multichoice question
+print genrandom("demo1.txt",6,4,0);
+
+system("cat demo1.tail");
+