| This application, written
in Java, creates the ".trv" files needed for
running the applet KTrivial. USAGE:
java KTrivialMaker
inputfile [outputfile]
inputfile
is the source file of the
trivia. Is a simple text file with this structure:
Q*this is the text of the question
W*this is the text of a wrong answer
W*this is the text of another wrong answer
R*this is the text of the right answer
W*this is the text of another wrong answer
W*this is the text of the lastwrong answer
---
This parameter must not contain the ".trs"
suffix, that is required by the program. All source files
must have this extention. Click HERE to see the
source file of the TrivialDemo trivia.
outputfile
is an optional parameter, indicating the name of
the trivia file. If you omit it the name will be tha same
of the sourcefile. Also in this case the suffix
".trv" must not be indicated.
It the output file is present, will be backupped. If the
program find any error, will stop, indicating the kind of
error and, when avaiable, where it is.
|
|
|
|